aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-12-27 18:47:44 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2021-09-11 21:23:48 +0200
commitc9b74bbec2e86ba5855d64a5de8619c22b6a79a5 (patch)
tree3bc7c06416cc218cec099cb24614b6259fa31bfc
parent607098b74a917a335cc300e471c9318d156db54e (diff)
downloadffmpeg-c9b74bbec2e86ba5855d64a5de8619c22b6a79a5.tar.gz
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 654b21ef176a807bf4e8359a4ed52c629d766100)
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index f80953de2e..e4976d76d2 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2706,7 +2706,7 @@ static int mpegts_read_header(AVFormatContext *s)
s->bit_rate = TS_PACKET_SIZE * 8 * 27000000LL / ts->pcr_incr;
st->codecpar->bit_rate = s->bit_rate;
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);
}