Commit fc3cdb00 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/matroskadec: Fix number suffixes

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b4ad2853
...@@ -1929,8 +1929,8 @@ static int matroska_parse_tracks(AVFormatContext *s) ...@@ -1929,8 +1929,8 @@ static int matroska_parse_tracks(AVFormatContext *s)
av_reduce(&st->avg_frame_rate.num, &st->avg_frame_rate.den, av_reduce(&st->avg_frame_rate.num, &st->avg_frame_rate.den,
1000000000, track->default_duration, 30000); 1000000000, track->default_duration, 30000);
#if FF_API_R_FRAME_RATE #if FF_API_R_FRAME_RATE
if ( st->avg_frame_rate.num < st->avg_frame_rate.den * 1000L if ( st->avg_frame_rate.num < st->avg_frame_rate.den * 1000LL
&& st->avg_frame_rate.num > st->avg_frame_rate.den * 5L) && st->avg_frame_rate.num > st->avg_frame_rate.den * 5LL)
st->r_frame_rate = st->avg_frame_rate; st->r_frame_rate = st->avg_frame_rate;
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment