Commit d5049e2c authored by Reimar Döffinger's avatar Reimar Döffinger

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

Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d6136c76
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment