From 90265814f993098d79b0a0f40745ecdb403fbf56 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 19 Oct 2016 21:56:22 +0200 Subject: [PATCH] examples/decode_audio: constify the AVCodec instance --- doc/examples/decode_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index 4378281dbd..647893c91f 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples/decode_audio.c @@ -39,7 +39,7 @@ int main(int argc, char **argv) { const char *outfilename, *filename; - AVCodec *codec; + const AVCodec *codec; AVCodecContext *c= NULL; int len; FILE *f, *outfile;