mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
get rid of av_rescale_q, it does not work as intended.
Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d6136c7618
commit
d5049e2c69
@ -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…
Reference in New Issue
Block a user