diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-18 19:15:19 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-18 19:15:19 +0000 |
commit | 9ab2717a9d28ff5d059902aada996f039d1fc3d2 (patch) | |
tree | 9f7a52ae985918d7ae4154e213c5dfbeb1250566 /libavcodec/ac3enc.c | |
parent | 2dd59ebd4522d668404af416aba9d85eb7024417 (diff) | |
download | ffmpeg-9ab2717a9d28ff5d059902aada996f039d1fc3d2.tar.gz |
auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)
Originally committed as revision 2800 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 25314e3669..1ce534a8ed 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -735,6 +735,9 @@ static int compute_bit_allocation(AC3EncodeContext *s, /* (fsnoffset[4] + fgaincod[4]) * c */ frame_bits += 2*4 + 3 + 6 + s->nb_all_channels * (4 + 3); + /* auxdatae, crcrsv */ + frame_bits += 2; + /* CRC */ frame_bits += 16; |