changeset 662:549e594a13c2 libavformat

support colon-separated rates patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
author mmu_man
date Thu, 27 Jan 2005 16:11:31 +0000
parents ff3b403d0498
children 570274d13064
files utils.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Thu Jan 27 15:41:03 2005 +0000
+++ b/utils.c	Thu Jan 27 16:11:31 2005 +0000
@@ -2487,6 +2487,8 @@
 
     /* 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);