mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
alac: make block_size signed
It does not need to be unsigned.
This commit is contained in:
parent
2fc24b3273
commit
91620a04f1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user