Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-12-27 20:47:44 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2021-09-10 17:04:26 +0300
commit53da7366456a4e595e649306a8f537d0f50c3604 (patch)
treea2c9b62d3d86f787d17ef53f3a9d519dcde63dd6 /libavformat/mpegts.c
parent2b3c1a30003b516cd7e406846f605716d16e6ec8 (diff)
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)
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 84d4c75f4d..e6c3f9af6f 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -3051,7 +3051,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);
}