diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-07-09 19:02:48 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-07-19 21:26:46 +0400 |
commit | 91620a04f197917d7272608620961e1145085d69 (patch) | |
tree | f593f2c2b0e22ba5443e6fd8bbc133f2d68997eb /libavcodec/alac.c | |
parent | 2fc24b3273f69a548531cdeaace8c68ac0f038ef (diff) |
alac: make block_size signed
It does not need to be unsigned.
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 2 |
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); |