avformat/mpegts: Fix argument type for av_log
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 654b21ef17
)
This commit is contained in:
@@ -2921,7 +2921,7 @@ static int mpegts_read_header(AVFormatContext *s)
|
|||||||
s->bit_rate = TS_PACKET_SIZE * 8 * 27000000LL / ts->pcr_incr;
|
s->bit_rate = TS_PACKET_SIZE * 8 * 27000000LL / ts->pcr_incr;
|
||||||
st->codecpar->bit_rate = s->bit_rate;
|
st->codecpar->bit_rate = s->bit_rate;
|
||||||
st->start_time = ts->cur_pcr;
|
st->start_time = ts->cur_pcr;
|
||||||
av_log(ts->stream, AV_LOG_TRACE, "start=%0.3f pcr=%0.3f incr=%d\n",
|
av_log(ts->stream, AV_LOG_TRACE, "start=%0.3f pcr=%0.3f incr=%"PRId64"\n",
|
||||||
st->start_time / 1000000.0, pcrs[0] / 27e6, ts->pcr_incr);
|
st->start_time / 1000000.0, pcrs[0] / 27e6, ts->pcr_incr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user