Browse Source

alac: make block_size signed

It does not need to be unsigned.
tags/n1.0
Justin Ruggles 13 years ago
parent
commit
91620a04f1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/alac.c

+ 1
- 1
libavcodec/alac.c View File

@@ -130,7 +130,7 @@ static void bastardized_rice_decompress(ALACContext *alac,


/* special case: there may be compressed blocks of 0 */ /* special case: there may be compressed blocks of 0 */
if ((history < 128) && (output_count+1 < output_size)) { 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 = 7 - av_log2(history) + ((history + 16) >> 6 /* / 64 */);
k = FFMIN(k, alac->rice_limit); k = FFMIN(k, alac->rice_limit);


Loading…
Cancel
Save