[FFmpeg-devel] [PATCH 4/5] fftools/ffmpeg_opt: Add missing AV_OPT_SEARCH_FAKE_OBJ
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Wed Sep 15 20:22:56 EEST 2021
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
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 6ca28cf974..8c8d5f60d8 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);
--
2.30.2
More information about the ffmpeg-devel
mailing list