Commit 7046cb54 authored by mmu_man's avatar mmu_man

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3892 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1133074f
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment