diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:34:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-12 17:10:35 +0100 |
commit | 260e5c6dbe198332d575842639575f46a4b11f57 (patch) | |
tree | 8c167f1e55cae764b0e8ec7d8da2ebc2fa1fc68f | |
parent | bac6554c74dc4567a16ced1ae57160a99df692fd (diff) | |
download | ffmpeg-260e5c6dbe198332d575842639575f46a4b11f57.tar.gz |
avformat/matroskadec: Fix number suffixes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fc3cdb00d084222a107e61e7168903bf3d3d0b47)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/matroskadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 3f327fd8c5..9c13484c9a 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1926,8 +1926,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 } |