ffmpeg | branch: release/2.5 | Michael Niedermayer <michae...@gmx.at> | Sun Feb 1 19:19:25 2015 +0100| [675fb3a8af6b0f8fcccdfc6276212f0556896622] | committer: Michael Niedermayer
avformat/utils: Fix number suffixes in tb_unreliable() Signed-off-by: Michael Niedermayer <michae...@gmx.at> (cherry picked from commit 4b15bba2aec93776bfdc69a1bca42a4795a7d191) Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=675fb3a8af6b0f8fcccdfc6276212f0556896622 --- libavformat/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 5662092..78653d1 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2812,8 +2812,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") || _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog