Mercurial > libavcodec.hg
comparison ac3enc.c @ 1819:34cdcb221665 libavcodec
auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)
author | michael |
---|---|
date | Wed, 18 Feb 2004 19:15:19 +0000 |
parents | fdb8244da1e5 |
children | 4478e603a8e3 |
comparison
equal
deleted
inserted
replaced
1818:3ea589261c6e | 1819:34cdcb221665 |
---|---|
733 /* sdcycod[2], fdcycod[2], sgaincod[2], dbpbcod[2], floorcod[3] */ | 733 /* sdcycod[2], fdcycod[2], sgaincod[2], dbpbcod[2], floorcod[3] */ |
734 /* csnroffset[6] */ | 734 /* csnroffset[6] */ |
735 /* (fsnoffset[4] + fgaincod[4]) * c */ | 735 /* (fsnoffset[4] + fgaincod[4]) * c */ |
736 frame_bits += 2*4 + 3 + 6 + s->nb_all_channels * (4 + 3); | 736 frame_bits += 2*4 + 3 + 6 + s->nb_all_channels * (4 + 3); |
737 | 737 |
738 /* auxdatae, crcrsv */ | |
739 frame_bits += 2; | |
740 | |
738 /* CRC */ | 741 /* CRC */ |
739 frame_bits += 16; | 742 frame_bits += 16; |
740 | 743 |
741 /* now the big work begins : do the bit allocation. Modify the snr | 744 /* now the big work begins : do the bit allocation. Modify the snr |
742 offset until we can pack everything in the requested frame size */ | 745 offset until we can pack everything in the requested frame size */ |