aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-10-19 21:56:22 +0200
committerAnton Khirnov <anton@khirnov.net>2016-11-02 10:13:37 +0100
commit90265814f993098d79b0a0f40745ecdb403fbf56 (patch)
treeed69b824c9db9c31bd512a82609970f7a3f07ea1 /doc/examples
parentf5df897c4b61985e3afc89ba1290649712ff438e (diff)
downloadffmpeg-90265814f993098d79b0a0f40745ecdb403fbf56.tar.gz
examples/decode_audio: constify the AVCodec instance
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/decode_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c
index 4378281dbd..647893c91f 100644
--- a/doc/examples/decode_audio.c
+++ b/doc/examples/decode_audio.c
@@ -39,7 +39,7 @@
int main(int argc, char **argv)
{
const char *outfilename, *filename;
- AVCodec *codec;
+ const AVCodec *codec;
AVCodecContext *c= NULL;
int len;
FILE *f, *outfile;