summaryrefslogtreecommitdiff
path: root/doc/examples/extract_mvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/extract_mvs.c')
-rw-r--r--doc/examples/extract_mvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/extract_mvs.c b/doc/examples/extract_mvs.c
index de31ccd2b9..42e1844150 100644
--- a/doc/examples/extract_mvs.c
+++ b/doc/examples/extract_mvs.c
@@ -78,7 +78,7 @@ static int open_codec_context(AVFormatContext *fmt_ctx, enum AVMediaType type)
int ret;
AVStream *st;
AVCodecContext *dec_ctx = NULL;
- AVCodec *dec = NULL;
+ const AVCodec *dec = NULL;
AVDictionary *opts = NULL;
ret = av_find_best_stream(fmt_ctx, type, -1, -1, &dec, 0);