[FFmpeg-cvslog] avformat/utils: Fix number suffixes in tb_unreliable()

Michael Niedermayer git at videolan.org
Fri Mar 13 17:49:01 CET 2015


ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Sun Feb  1 19:19:25 2015 +0100| [bbef5b0b86f6603ced05a77fe38be4fef486cb17] | committer: Michael Niedermayer

avformat/utils: Fix number suffixes in tb_unreliable()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 4b15bba2aec93776bfdc69a1bca42a4795a7d191)

Conflicts:

	libavformat/utils.c
(cherry picked from commit e651a2f88c219e74c9851563e74100f7652a6005)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bbef5b0b86f6603ced05a77fe38be4fef486cb17
---

 libavformat/utils.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index e42c1fc..360847f 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2652,8 +2652,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")



More information about the ffmpeg-cvslog mailing list