get rid of av_rescale_q, it does not work as intended.

Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Reimar Döffinger 18 years ago
parent d6136c7618
commit d5049e2c69
  1. 1
      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;
}

Loading…
Cancel
Save