diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index 4378281dbd3ae9dbac8fe878561155e70ff5c7cd..647893c91f5fce702ed40a51eed818613835fe49 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;