alac: make block_size signed
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 9 Jul 2012 15:02:48 +0000 (11:02 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 19 Jul 2012 17:26:46 +0000 (13:26 -0400)
It does not need to be unsigned.

libavcodec/alac.c

index 74da253..91c94d7 100644 (file)
@@ -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);