[FFmpeg-cvslog] alac: make block_size signed
Justin Ruggles
git at videolan.org
Thu Jul 19 23:35:51 CEST 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Jul 9 11:02:48 2012 -0400| [91620a04f197917d7272608620961e1145085d69] | committer: Justin Ruggles
alac: make block_size signed
It does not need to be unsigned.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91620a04f197917d7272608620961e1145085d69
---
libavcodec/alac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 74da253..91c94d7 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);
More information about the ffmpeg-cvslog
mailing list