diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-25 01:53:40 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 10:43:14 -0300 |
commit | 46dac8cf3d250184ab4247809bc03f60e14f4c0c (patch) | |
tree | c5fabc231ab840ba7cafbe0e722dff0fe2148dd7 /doc/examples/extract_mvs.c | |
parent | 626535f6a169e2d821b969e0ea77125ba7482113 (diff) | |
download | ffmpeg-46dac8cf3d250184ab4247809bc03f60e14f4c0c.tar.gz |
avformat/avformat, utils: Make av_find_best_stream const-correct
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'doc/examples/extract_mvs.c')
-rw-r--r-- | doc/examples/extract_mvs.c | 2 |
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); |