[SCM] libav/experimental: get rid of av_rescale_q, it does not work as intended.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:04:52 UTC 2013


The following commit has been merged in the experimental branch:
commit d5049e2c6948d4d9529fb825912a907fb9077120
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Sun Aug 5 12:11:22 2007 +0000

    get rid of av_rescale_q, it does not work as intended.
    
    Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/xsubdec.c b/libavcodec/xsubdec.c
index f2ef39b..ad1f55e 100644
--- a/libavcodec/xsubdec.c
+++ b/libavcodec/xsubdec.c
@@ -20,7 +20,6 @@ static uint64_t parse_timecode(AVCodecContext *avctx, uint8_t *buf) {
         if (c > 9) return AV_NOPTS_VALUE;
         ms = (ms + c) * tc_muls[i];
     }
-    ms = av_rescale_q(ms, (AVRational){1, 1000}, avctx->time_base);
     return ms;
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list