Commit 91620a04 authored by Justin Ruggles's avatar Justin Ruggles

alac: make block_size signed

It does not need to be unsigned.
parent 2fc24b32
......@@ -130,7 +130,7 @@ static void bastardized_rice_decompress(ALACContext *alac,
/* special case: there may be compressed blocks of 0 */
if ((history < 128) && (output_count+1 < output_size)) {
unsigned int block_size;
int block_size;
k = 7 - av_log2(history) + ((history + 16) >> 6 /* / 64 */);
k = FFMIN(k, alac->rice_limit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment