mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
avformat/rtsp: av_rescale -> av_rescale_q
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
0cccb5fb14
commit
5bb313e723
@ -2247,9 +2247,7 @@ redo:
|
||||
s->start_time_realtime = av_rescale (rtpctx->first_rtcp_ntp_time - (NTP_OFFSET << 32), 1000000, 1LL << 32);
|
||||
if (rtpctx->st) {
|
||||
s->start_time_realtime -=
|
||||
av_rescale (rtpctx->rtcp_ts_offset,
|
||||
(uint64_t) rtpctx->st->time_base.num * 1000000,
|
||||
rtpctx->st->time_base.den);
|
||||
av_rescale_q (rtpctx->rtcp_ts_offset, rtpctx->st->time_base, AV_TIME_BASE_Q);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user