mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avcodec: Switch AVCPBProperties to 64bits
Announced in 2e8b0446c6.
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>
This commit is contained in:
committed by
James Almer
parent
f34521266e
commit
f0c7fa2c48
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user