changeset 5488:0f736b1402ca libavcodec

get rid of av_rescale_q, it does not work as intended.
author reimar
date Sun, 05 Aug 2007 12:11:22 +0000
parents 3039b660bf35
children dc54869af30b
files xsubdec.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xsubdec.c	Sun Aug 05 12:11:20 2007 +0000
+++ b/xsubdec.c	Sun Aug 05 12:11:22 2007 +0000
@@ -20,7 +20,6 @@
         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;
 }