diff ac3enc.c @ 3668:34d76180e5d0 libavcodec

Fix 2 bit allocation bugs. One fix enables using a higher bandwidth code. The other fixes an issue with floorcod=7.
author jbr
date Sun, 03 Sep 2006 15:59:08 +0000
parents 894ef0dba687
children c8c591fe26f8
line wrap: on
line diff
--- a/ac3enc.c	Sun Sep 03 04:44:50 2006 +0000
+++ b/ac3enc.c	Sun Sep 03 15:59:08 2006 +0000
@@ -804,7 +804,7 @@
         for(j=0;j<v;j++) masktab[k++]=i;
         l += v;
     }
-    bndtab[50] = 0;
+    bndtab[50] = l;
 }