diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:19:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-13 20:48:08 +0100 |
commit | 01b5e61845b8098c386814c1b354bdd1a50547ea (patch) | |
tree | 696c13082528c7efd7a617d49d71b6f1bf22891d | |
parent | 05a8114c7190b4efacf29f468e747d47c19ef650 (diff) | |
download | ffmpeg-01b5e61845b8098c386814c1b354bdd1a50547ea.tar.gz |
avformat/utils: Fix number suffixes in tb_unreliable()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4b15bba2aec93776bfdc69a1bca42a4795a7d191)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index b399ccd53d..f1610d6798 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2768,8 +2768,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") || |