avformat/matroskadec: Fix number suffixes
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Feb 2015 18:34:52 +0000 (19:34 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Feb 2015 19:00:10 +0000 (20:00 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskadec.c

index 8ccf88c..4140342 100644 (file)
@@ -1929,8 +1929,8 @@ static int matroska_parse_tracks(AVFormatContext *s)
                 av_reduce(&st->avg_frame_rate.num, &st->avg_frame_rate.den,
                           1000000000, track->default_duration, 30000);
 #if FF_API_R_FRAME_RATE
-                if (   st->avg_frame_rate.num < st->avg_frame_rate.den * 1000L
-                    && st->avg_frame_rate.num > st->avg_frame_rate.den * 5L)
+                if (   st->avg_frame_rate.num < st->avg_frame_rate.den * 1000LL
+                    && st->avg_frame_rate.num > st->avg_frame_rate.den * 5LL)
                     st->r_frame_rate = st->avg_frame_rate;
 #endif
             }