diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-15 15:25:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-20 02:19:56 +0200 |
commit | 01f106000bec78f5fa6e4de9dfc241b021584442 (patch) | |
tree | 6af9c93d42994725364733f3738046d338c9664e /fftools/ffmpeg_opt.c | |
parent | 8d5de914d31ca95ab36e6b66177be435e5cebb3d (diff) | |
download | ffmpeg-01f106000bec78f5fa6e4de9dfc241b021584442.tar.gz |
fftools/ffmpeg_opt: Add missing AV_OPT_SEARCH_FAKE_OBJ
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/ffmpeg_opt.c')
-rw-r--r-- | fftools/ffmpeg_opt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 8c1d96ccf8..1d6d29cfc9 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -821,7 +821,8 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic) char *next; char *discard_str = NULL; const AVClass *cc = avcodec_get_class(); - const AVOption *discard_opt = av_opt_find(&cc, "skip_frame", NULL, 0, 0); + const AVOption *discard_opt = av_opt_find(&cc, "skip_frame", NULL, + 0, AV_OPT_SEARCH_FAKE_OBJ); if (!ist) exit_program(1); |