提交 88805317 编写于 作者: R Roine Gustafsson 提交者: François Revol

support colon-separated rates patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>

Originally committed as revision 3892 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 501866a1
......@@ -2487,6 +2487,8 @@ int parse_frame_rate(int *frame_rate, int *frame_rate_base, const char *arg)
/* Then, we try to parse it as fraction */
cp = strchr(arg, '/');
if (!cp)
cp = strchr(arg, ':');
if (cp) {
char* cpp;
*frame_rate = strtol(arg, &cpp, 10);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册