--- doc/examples/decode_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c index e840f76..40d838d 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; -- 2.0.0 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel