diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c index 20d11dae4e6847fe4900c3678a28dec1a561c52a..4036dbe3605d3a715bedc141df44b58bab571f3b 100644 --- a/doc/examples/decode_video.c +++ b/doc/examples/decode_video.c @@ -53,7 +53,7 @@ static void pgm_save(unsigned char *buf, int wrap, int xsize, int ysize, int main(int argc, char **argv) { const char *filename, *outfilename; - AVCodec *codec; + const AVCodec *codec; AVCodecContext *c= NULL; int frame, got_picture, len; FILE *f;