提交 efd5fc53 编写于 作者: B Benoit Fouet

return right format in set_codec_from_probe_data

Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 671adb17
...@@ -1684,7 +1684,7 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score) ...@@ -1684,7 +1684,7 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score)
else if (strncmp(fmt->name, "ac3", 3) == 0) else if (strncmp(fmt->name, "ac3", 3) == 0)
st->codec->codec_id = CODEC_ID_AC3; st->codec->codec_id = CODEC_ID_AC3;
} }
return fmt; return !!fmt;
} }
/* absolute maximum size we read until we abort */ /* absolute maximum size we read until we abort */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册