From 098ed8a73e68e3aa8d6c75460daed1e38bf66e45 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 10 Aug 2019 14:43:58 +0200 Subject: [PATCH] lavf/dump: Fix cpb bitrate type after next major bump. --- 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);