From 6f02853d14e7226b058ea59a1032c7c34f2526a8 Mon Sep 17 00:00:00 2001 From: Benjamin Larsson Date: Tue, 28 Oct 2008 14:43:06 +0000 Subject: [PATCH] Fix huffman coded dca samples. Originally committed as revision 15733 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dcahuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dcahuff.h b/libavcodec/dcahuff.h index 5704ac383a..cbc8429e59 100644 --- a/libavcodec/dcahuff.h +++ b/libavcodec/dcahuff.h @@ -1021,7 +1021,7 @@ static const uint8_t bitalloc_129_bits_g[129] = static const uint8_t bitalloc_sizes[10] = { 3, 5, 7, 9, 13, 17, 25, 33, 65, 129 }; -static const uint8_t bitalloc_offsets[10] = +static const int8_t bitalloc_offsets[10] = { -1, -2, -3, -4, -6, -8, -12, -16, -32, -64 }; static const uint8_t bitalloc_maxbits[10][7] = {