diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index 738a188aef..a091cdc74c 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples/decode_audio.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) { const char *outfilename, *filename; - AVCodec *codec; + const AVCodec *codec; AVCodecContext *c= NULL; int len; FILE *f, *outfile;