[FFmpeg-cvslog] fftools/ffmpeg_opt: Add missing AV_OPT_SEARCH_FAKE_OBJ
Andreas Rheinhardt
git at videolan.org
Mon Sep 20 03:30:05 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Sep 15 15:25:54 2021 +0200| [01f106000bec78f5fa6e4de9dfc241b021584442] | committer: Andreas Rheinhardt
fftools/ffmpeg_opt: Add missing AV_OPT_SEARCH_FAKE_OBJ
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01f106000bec78f5fa6e4de9dfc241b021584442
---
fftools/ffmpeg_opt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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);
More information about the ffmpeg-cvslog
mailing list