From d5049e2c6948d4d9529fb825912a907fb9077120 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 5 Aug 2007 12:11:22 +0000 Subject: get rid of av_rescale_q, it does not work as intended. Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/xsubdec.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/xsubdec.c') diff --git a/libavcodec/xsubdec.c b/libavcodec/xsubdec.c index f2ef39bf75..ad1f55ef69 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; } -- cgit v1.2.3