diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-08-10 15:43:58 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-08-11 00:46:53 +0300 |
commit | 098ed8a73e68e3aa8d6c75460daed1e38bf66e45 (patch) | |
tree | 1275e0fcc505f4634718a464d9eb25f3f55e9a2d | |
parent | 67114195694df1057f34d9bb056d6fbac52b4017 (diff) |
lavf/dump: Fix cpb bitrate type after next major bump.
-rw-r--r-- | libavformat/dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |