aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-01-10 22:23:39 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-01-12 17:32:29 +0100
commit2e8b0446c6798947dac77fee4a06f9c4e8131ab5 (patch)
tree33af4008787c729a7a98e295daecc2b0962866ed /libavcodec/avcodec.h
parent90ab9a58ff697e0a7bfd89715cba5a8fb4074b35 (diff)
downloadffmpeg-2e8b0446c6798947dac77fee4a06f9c4e8131ab5.tar.gz
lavc: Allow very high bitrates in AVCPBProperties after next version bump.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 92567ec6d0..4414853e84 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1118,17 +1118,29 @@ typedef struct AVCPBProperties {
* Maximum bitrate of the stream, in bits per second.
* Zero if unknown or unspecified.
*/
+#if FF_API_UNSANITIZED_BITRATES
int max_bitrate;
+#else
+ int64_t max_bitrate;
+#endif
/**
* Minimum bitrate of the stream, in bits per second.
* Zero if unknown or unspecified.
*/
+#if FF_API_UNSANITIZED_BITRATES
int min_bitrate;
+#else
+ int64_t min_bitrate;
+#endif
/**
* Average bitrate of the stream, in bits per second.
* Zero if unknown or unspecified.
*/
+#if FF_API_UNSANITIZED_BITRATES
int avg_bitrate;
+#else
+ int64_t avg_bitrate;
+#endif
/**
* The size of the buffer to which the ratecontrol is applied, in bits.