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>
This commit is contained in:
parent
8d5de914d3
commit
01f106000b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user