# HG changeset patch # User reimar # Date 1186315882 0 # Node ID 0f736b1402caecd220aebba4120ea3c0e04139c7 # Parent 3039b660bf35e02c807e797e0e659f16779ec37a get rid of av_rescale_q, it does not work as intended. diff -r 3039b660bf35 -r 0f736b1402ca xsubdec.c --- 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; }