Commit d74ba68a authored by Derek Buitenhuis's avatar Derek Buitenhuis

ffmpeg_opt: Make get_timecode actually return errors

Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 179bf86f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment