diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-07-14 13:02:45 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-07-21 14:57:10 -0400 |
commit | be7bd626c4832c4bc5295a01bfd68156ac78ccba (patch) | |
tree | 7ab89b387d01a15495c458ab8832ed0622b7b2f1 /libavcodec/ac3enc.h | |
parent | 4555874af19acd0cbd6e856e032468ff52ceaa63 (diff) | |
download | ffmpeg-be7bd626c4832c4bc5295a01bfd68156ac78ccba.tar.gz |
eac3enc: use different numbers of blocks per frame to allow higher bitrates
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r-- | libavcodec/ac3enc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index a4a8fd4325..407e751b40 100644 --- a/libavcodec/ac3enc.h +++ b/libavcodec/ac3enc.h @@ -151,6 +151,8 @@ typedef struct AC3EncodeContext { int bit_rate; ///< target bit rate, in bits-per-second int sample_rate; ///< sampling frequency, in Hz + int num_blks_code; ///< number of blocks code (numblkscod) + int num_blocks; ///< number of blocks per frame int frame_size_min; ///< minimum frame size in case rounding is necessary int frame_size; ///< current frame size in bytes int frame_size_code; ///< frame size code (frmsizecod) |