[FFmpeg-cvslog] examples/decode_audio: constify the AVCodec instance

Anton Khirnov git at videolan.org
Wed Mar 29 14:46:22 EEST 2017


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Oct 19 21:56:22 2016 +0200| [90265814f993098d79b0a0f40745ecdb403fbf56] | committer: Anton Khirnov

examples/decode_audio: constify the AVCodec instance

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90265814f993098d79b0a0f40745ecdb403fbf56
---

 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 4378281..647893c 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;



More information about the ffmpeg-cvslog mailing list