diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:19:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 19:43:18 +0100 |
commit | 56976346d9897b7f43d08f2d57a629f07d98ccea (patch) | |
tree | 8f8882757a6e20ed5e10f79163cd861822376b8d | |
parent | e5b878b37f64e443847dd7655d6c2068eb37e130 (diff) | |
download | ffmpeg-56976346d9897b7f43d08f2d57a629f07d98ccea.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 c3cccd7564..b56a40f664 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2847,8 +2847,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") || |