Commit 032c9641 authored by reimar's avatar reimar

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9939 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d6075ba4
...@@ -20,7 +20,6 @@ static uint64_t parse_timecode(AVCodecContext *avctx, uint8_t *buf) { ...@@ -20,7 +20,6 @@ static uint64_t parse_timecode(AVCodecContext *avctx, uint8_t *buf) {
if (c > 9) return AV_NOPTS_VALUE; if (c > 9) return AV_NOPTS_VALUE;
ms = (ms + c) * tc_muls[i]; ms = (ms + c) * tc_muls[i];
} }
ms = av_rescale_q(ms, (AVRational){1, 1000}, avctx->time_base);
return ms; 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