[SCM] libav/experimental: mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:36:44 UTC 2013


The following commit has been merged in the experimental branch:
commit e71ea8b251463fb636d5dc15a53cef808d2c6768
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Jul 4 23:08:16 2003 +0000

    mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))
    
    Originally committed as revision 2012 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 460fb22..764ae8d 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -618,7 +618,7 @@ int av_find_stream_info(AVFormatContext *ic)
                                 &st->r_frame_rate,
                                 &st->r_frame_rate_base,
                                 (int64_t)st->codec.frame_rate * st->codec_info_nb_real_frames,
-                                st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1),
+                                (st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1)) * st->codec.frame_rate_base,
                                 1<<30);
                             goto close_codec;
                         }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list