summaryrefslogtreecommitdiff
path: root/doc
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:20:25 +0100
commit8191f960a669819db4de33a2439ded1630b8a73e (patch)
treeebee55df21c65f2d0508e2f6411f196fed66660e /doc
parent5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c (diff)
examples/decode_video: constify the AVCodec instance
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/decode_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c
index 20d11dae4e..4036dbe360 100644
--- a/doc/examples/decode_video.c
+++ b/doc/examples/decode_video.c
@@ -53,7 +53,7 @@ static void pgm_save(unsigned char *buf, int wrap, int xsize, int ysize,
int main(int argc, char **argv)
{
const char *filename, *outfilename;
- AVCodec *codec;
+ const AVCodec *codec;
AVCodecContext *c= NULL;
int frame, got_picture, len;
FILE *f;