diff --git a/libavformat/utils.c b/libavformat/utils.c index bfc4ed366e..92f412105c 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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);