Originally committed as revision 12402 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2008/03/10 09:27:40... | ... |
@@ -79,7 +79,7 @@ static const uint16_t ape_filter_orders[5][APE_FILTER_LEVELS] = { |
79 | 79 |
}; |
80 | 80 |
|
81 | 81 |
/** Filter fraction bits depending on compression level */ |
82 |
-static const uint16_t ape_filter_fracbits[5][APE_FILTER_LEVELS] = { |
|
82 |
+static const uint8_t ape_filter_fracbits[5][APE_FILTER_LEVELS] = { |
|
83 | 83 |
{ 0, 0, 0 }, |
84 | 84 |
{ 11, 0, 0 }, |
85 | 85 |
{ 11, 0, 0 }, |
... | ... |
@@ -316,7 +316,7 @@ static inline int range_decode_bits(APEContext * ctx, int n) |
316 | 316 |
/** |
317 | 317 |
* Fixed probabilities for symbols in Monkey Audio version 3.97 |
318 | 318 |
*/ |
319 |
-static const uint32_t counts_3970[22] = { |
|
319 |
+static const uint16_t counts_3970[22] = { |
|
320 | 320 |
0, 14824, 28224, 39348, 47855, 53994, 58171, 60926, |
321 | 321 |
62682, 63786, 64463, 64878, 65126, 65276, 65365, 65419, |
322 | 322 |
65450, 65469, 65480, 65487, 65491, 65493, |
... | ... |
@@ -334,7 +334,7 @@ static const uint16_t counts_diff_3970[21] = { |
334 | 334 |
/** |
335 | 335 |
* Fixed probabilities for symbols in Monkey Audio version 3.98 |
336 | 336 |
*/ |
337 |
-static const uint32_t counts_3980[22] = { |
|
337 |
+static const uint16_t counts_3980[22] = { |
|
338 | 338 |
0, 19578, 36160, 48417, 56323, 60899, 63265, 64435, |
339 | 339 |
64971, 65232, 65351, 65416, 65447, 65466, 65476, 65482, |
340 | 340 |
65485, 65488, 65490, 65491, 65492, 65493, |
... | ... |
@@ -355,7 +355,7 @@ static const uint16_t counts_diff_3980[21] = { |
355 | 355 |
* @param count_diffs probability range widths |
356 | 356 |
*/ |
357 | 357 |
static inline int range_get_symbol(APEContext * ctx, |
358 |
- const uint32_t counts[], |
|
358 |
+ const uint16_t counts[], |
|
359 | 359 |
const uint16_t counts_diff[]) |
360 | 360 |
{ |
361 | 361 |
int symbol, cf; |