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

Anton Khirnov git at videolan.org
Wed Mar 29 15:15:32 EEST 2017


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Oct 20 11:03:20 2016 +0200| [e02524025bce2c8bf8b5bffd96479785c75a70d4] | committer: Anton Khirnov

examples/encode_video: constify the AVCodec instance

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

 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 ca93472..c5f3853f 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;



More information about the ffmpeg-cvslog mailing list