[FFmpeg-cvslog] avformat/mpegts: Fix argument type for av_log

Michael Niedermayer git at videolan.org
Mon Dec 28 20:53:14 EET 2020


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Dec 27 18:47:44 2020 +0100| [654b21ef176a807bf4e8359a4ed52c629d766100] | committer: Michael Niedermayer

avformat/mpegts: Fix argument type for av_log

Reviewed-by: Marton Balint <cus at passwd.hu>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=654b21ef176a807bf4e8359a4ed52c629d766100
---

 libavformat/mpegts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index cc292ab929..efff5130de 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -3140,7 +3140,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);
     }
 



More information about the ffmpeg-cvslog mailing list