summaryrefslogtreecommitdiff
path: root/libavcodec/ac3tab.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2006-09-03 15:59:08 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2006-09-03 15:59:08 +0000
commit1df051e1974f0eee69a31c653f840bef37732f85 (patch)
treea7a9b74090ca519fa7b513484ce8136879177f3f /libavcodec/ac3tab.h
parent74945176736e1d347a5ed8cd2f0d8374d3d9bfb9 (diff)
downloadffmpeg-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/ac3tab.h')
-rw-r--r--libavcodec/ac3tab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3tab.h b/libavcodec/ac3tab.h
index d8771fbeee..7232ca6a41 100644
--- a/libavcodec/ac3tab.h
+++ b/libavcodec/ac3tab.h
@@ -160,7 +160,7 @@ static const uint16_t dbkneetab[4]= {
0x000, 0x700, 0x900, 0xb00,
};
-static const uint16_t floortab[8]= {
+static const int16_t floortab[8]= {
0x2f0, 0x2b0, 0x270, 0x230, 0x1f0, 0x170, 0x0f0, 0xf800,
};