avformat/utils: Fix number suffixes in tb_unreliable()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Feb 2015 18:19:25 +0000 (19:19 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Feb 2015 19:15:22 +0000 (20:15 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4b15bba2aec93776bfdc69a1bca42a4795a7d191)

Conflicts:

libavformat/utils.c

libavformat/utils.c

index d2efda0..5465498 100644 (file)
@@ -2674,8 +2674,8 @@ static int get_std_framerate(int i){
  * And there are "variable" fps files this needs to detect as well.
  */
 static int tb_unreliable(AVCodecContext *c){
-    if(   c->time_base.den >= 101L*c->time_base.num
-       || c->time_base.den <    5L*c->time_base.num
+    if(   c->time_base.den >= 101LL*c->time_base.num
+       || c->time_base.den <    5LL*c->time_base.num
 /*       || c->codec_tag == AV_RL32("DIVX")
        || c->codec_tag == AV_RL32("XVID")*/
        || c->codec_tag == AV_RL32("mp4v")