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>
pull/369/head
Andreas Rheinhardt 3 years ago
parent 8d5de914d3
commit 01f106000b
  1. 3
      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);

Loading…
Cancel
Save