提交 ad12d60d 编写于 作者: C Clément Bœsch

ffmpeg: fix return value in opt_old2new after e3127db4.

上级 369befb4
......@@ -4867,8 +4867,9 @@ static int opt_passlogfile(const char *opt, const char *arg)
static int opt_old2new(OptionsContext *o, const char *opt, const char *arg)
{
char *s = av_asprintf("%s:%c", opt + 1, *opt);
parse_option(o, s, arg, options);
int ret = parse_option(o, s, arg, options);
av_free(s);
return ret;
}
static int opt_bitrate(OptionsContext *o, const char *opt, const char *arg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册