summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
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 /libavcodec/avcodec.h
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 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 43b83ac348..684602f22f 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -455,35 +455,23 @@ 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.
* Zero if unknown or unspecified.
*/
- int buffer_size;
+ int64_t buffer_size;
/**
* The delay between the time the packet this structure is associated with