auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)

Originally committed as revision 2800 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-02-18 19:15:19 +00:00
parent 2dd59ebd45
commit 9ab2717a9d

View File

@ -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;