diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:19:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-12 17:10:35 +0100 |
commit | 675fb3a8af6b0f8fcccdfc6276212f0556896622 (patch) | |
tree | 19e158ee087d6951f6057a39c27128c8a2bc802a /libavformat/utils.c | |
parent | 25fc0faccb0142379eee87a5c80beff3cf9de1c5 (diff) | |
download | ffmpeg-675fb3a8af6b0f8fcccdfc6276212f0556896622.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>
Diffstat (limited to 'libavformat/utils.c')
-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 5662092139..78653d1f1c 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") || |