mirror of https://git.ffmpeg.org/ffmpeg.git
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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue