Module: libav Branch: master Commit: 8191f960a669819db4de33a2439ded1630b8a73e
Author: Anton Khirnov <[email protected]> Committer: Anton Khirnov <[email protected]> Date: Thu Oct 20 11:03:20 2016 +0200 examples/decode_video: constify the AVCodec instance --- 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 20d11da..4036dbe 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; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
