mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-08 16:54:03 +02:00
ffmpeg_opt: Make get_timecode actually return errors
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
179bf86fa2
commit
d74ba68acf
@ -3072,7 +3072,7 @@ static int opt_timecode(void *optctx, const char *opt, const char *arg)
|
|||||||
if (ret >= 0)
|
if (ret >= 0)
|
||||||
ret = av_dict_set(&o->g->codec_opts, "gop_timecode", arg, 0);
|
ret = av_dict_set(&o->g->codec_opts, "gop_timecode", arg, 0);
|
||||||
av_free(tcr);
|
av_free(tcr);
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int opt_channel_layout(void *optctx, const char *opt, const char *arg)
|
static int opt_channel_layout(void *optctx, const char *opt, const char *arg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user