projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd59eb
)
auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Feb 2004 19:15:19 +0000
(19:15 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Feb 2004 19:15:19 +0000
(19:15 +0000)
Originally committed as revision 2800 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3enc.c
b/libavcodec/ac3enc.c
index
25314e3
..
1ce534a
100644
(file)
--- 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;