From 91620a04f197917d7272608620961e1145085d69 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Mon, 9 Jul 2012 11:02:48 -0400 Subject: alac: make block_size signed It does not need to be unsigned. --- libavcodec/alac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/alac.c') diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 74da253cab..91c94d7400 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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); -- cgit v1.2.3