aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-07-09 11:02:48 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-07-19 13:26:46 -0400
commit91620a04f197917d7272608620961e1145085d69 (patch)
treef593f2c2b0e22ba5443e6fd8bbc133f2d68997eb /libavcodec/alac.c
parent2fc24b3273f69a548531cdeaace8c68ac0f038ef (diff)
downloadffmpeg-91620a04f197917d7272608620961e1145085d69.tar.gz
alac: make block_size signed
It does not need to be unsigned.
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c2
1 files changed, 1 insertions, 1 deletions
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);