Browse Source

ffmpeg_opt: Make get_timecode actually return errors

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n3.4
Derek Buitenhuis 7 years ago
parent
commit
d74ba68acf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg_opt.c

+ 1
- 1
ffmpeg_opt.c View File

@@ -3072,7 +3072,7 @@ static int opt_timecode(void *optctx, const char *opt, const char *arg)
if (ret >= 0)
ret = av_dict_set(&o->g->codec_opts, "gop_timecode", arg, 0);
av_free(tcr);
return 0;
return ret;
}

static int opt_channel_layout(void *optctx, const char *opt, const char *arg)


Loading…
Cancel
Save