diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-06 13:52:42 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-07 15:27:22 -0400 |
commit | d74ba68acf30ec5395cb0c82007cc10c02d2e028 (patch) | |
tree | 508a5e2e967c48f888b810c0eb051e35efb8b588 /ffmpeg_opt.c | |
parent | 179bf86fa2f5f24d12e625c58ca08223a1e32093 (diff) | |
download | ffmpeg-d74ba68acf30ec5395cb0c82007cc10c02d2e028.tar.gz |
ffmpeg_opt: Make get_timecode actually return errors
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 9b7e8c74b9..989391bb34 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -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) |