diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2006-09-03 15:59:08 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2006-09-03 15:59:08 +0000 |
commit | 1df051e1974f0eee69a31c653f840bef37732f85 (patch) | |
tree | a7a9b74090ca519fa7b513484ce8136879177f3f /libavcodec/ac3enc.c | |
parent | 74945176736e1d347a5ed8cd2f0d8374d3d9bfb9 (diff) | |
download | ffmpeg-streaming-1df051e1974f0eee69a31c653f840bef37732f85.zip ffmpeg-streaming-1df051e1974f0eee69a31c653f840bef37732f85.tar.gz |
Fix 2 bit allocation bugs. One fix enables using a higher bandwidth code. The other fixes an issue with floorcod=7.
Originally committed as revision 6156 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 5ec8b4f..aac6a57 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -804,7 +804,7 @@ void ac3_common_init(void) for(j=0;j<v;j++) masktab[k++]=i; l += v; } - bndtab[50] = 0; + bndtab[50] = l; } |