summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-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 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;
OpenPOWER on IntegriCloud