summaryrefslogtreecommitdiff
path: root/libavformat/dump.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-26 11:19:02 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:07 -0300
commitf0c7fa2c484e197dae05fbda70a15b5e2ce81e9a (patch)
tree35ca9ceda4bfe3f8213db61f590e0314c7a64bc7 /libavformat/dump.c
parentf34521266ec5816eefa4c10db6098cb91e03c695 (diff)
avcodec: Switch AVCPBProperties to 64bits
Announced in 2e8b0446c6798947dac77fee4a06f9c4e8131ab5. Two FATE-tests needed to be updated because the checksums of side data containing an AVCPBProperties struct changed. buffer_size has also been switched to 64bits because it is a bitsize. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/dump.c')
-rw-r--r--libavformat/dump.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c
index 62ef5e9852..4d6ccd006a 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -322,11 +322,7 @@ static void dump_cpb(void *ctx, const AVPacketSideData *sd)
}
av_log(ctx, AV_LOG_INFO,
-#if FF_API_UNSANITIZED_BITRATES
- "bitrate max/min/avg: %d/%d/%d buffer size: %d ",
-#else
- "bitrate max/min/avg: %"PRId64"/%"PRId64"/%"PRId64" buffer size: %d ",
-#endif
+ "bitrate max/min/avg: %"PRId64"/%"PRId64"/%"PRId64" buffer size: %"PRId64" ",
cpb->max_bitrate, cpb->min_bitrate, cpb->avg_bitrate,
cpb->buffer_size);
if (cpb->vbv_delay == UINT64_MAX)