[FFmpeg-cvslog] lavf/dump: Fix cpb bitrate type after next major bump.

Carl Eugen Hoyos git at videolan.org
Sun Aug 11 00:50:44 EEST 2019


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sat Aug 10 14:43:58 2019 +0200| [098ed8a73e68e3aa8d6c75460daed1e38bf66e45] | committer: Carl Eugen Hoyos

lavf/dump: Fix cpb bitrate type after next major bump.

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

 libavformat/dump.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/dump.c b/libavformat/dump.c
index aeaa5b7be4..b02318bc36 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -320,7 +320,11 @@ static void dump_cpb(void *ctx, AVPacketSideData *sd)
     }
 
     av_log(ctx, AV_LOG_INFO,
+#if FF_API_UNSANITIZED_BITRATES
            "bitrate max/min/avg: %d/%d/%d buffer size: %d vbv_delay: %"PRIu64,
+#else
+           "bitrate max/min/avg: %"PRId64"/%"PRId64"/%"PRId64" buffer size: %d vbv_delay: %"PRIu64,
+#endif
            cpb->max_bitrate, cpb->min_bitrate, cpb->avg_bitrate,
            cpb->buffer_size,
            cpb->vbv_delay);



More information about the ffmpeg-cvslog mailing list