aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encode_video.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-10-20 11:03:20 +0200
committerAnton Khirnov <anton@khirnov.net>2016-11-02 10:18:34 +0100
commite02524025bce2c8bf8b5bffd96479785c75a70d4 (patch)
tree07972b16235acf65edb584a9c82d65bfe38f89ed /doc/examples/encode_video.c
parent7b1f03477f1a43d2261fbd83e50a4ad90c7f806d (diff)
downloadffmpeg-e02524025bce2c8bf8b5bffd96479785c75a70d4.tar.gz
examples/encode_video: constify the AVCodec instance
Diffstat (limited to 'doc/examples/encode_video.c')
-rw-r--r--doc/examples/encode_video.c2
1 files changed, 1 insertions, 1 deletions
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;