From e02524025bce2c8bf8b5bffd96479785c75a70d4 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 20 Oct 2016 11:03:20 +0200 Subject: [PATCH] examples/encode_video: constify the AVCodec instance --- doc/examples/encode_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c index ca93472920..c5f3853f83 100644 --- a/doc/examples/encode_video.c +++ b/doc/examples/encode_video.c @@ -37,7 +37,7 @@ int main(int argc, char **argv) { const char *filename; - AVCodec *codec; + const AVCodec *codec; AVCodecContext *c= NULL; int i, ret, x, y, got_output; FILE *f;