aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-01 19:34:52 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-01 20:00:10 +0100
commitfc3cdb00d084222a107e61e7168903bf3d3d0b47 (patch)
tree37cafb191d679c4fca74dac7ff30ab7ff009ce2d /libavformat/matroskadec.c
parentb4ad2853c50d055e9ba8c29f2e1c83b292f29d7a (diff)
downloadffmpeg-fc3cdb00d084222a107e61e7168903bf3d3d0b47.tar.gz
avformat/matroskadec: Fix number suffixes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 8ccf88c7a9..4140342f8b 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -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
}