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;