[FFmpeg-soc] [soc]: r5016 - als/alsdec.c

thilo.borgmann subversion at mplayerhq.hu
Mon Aug 10 00:50:38 CEST 2009


Author: thilo.borgmann
Date: Mon Aug 10 00:50:38 2009
New Revision: 5016

Log:
Negative indices deserve signed types for index calculations.

Modified:
   als/alsdec.c

Modified: als/alsdec.c
==============================================================================
--- als/alsdec.c	Mon Aug 10 00:48:52 2009	(r5015)
+++ als/alsdec.c	Mon Aug 10 00:50:38 2009	(r5016)
@@ -440,7 +440,7 @@ static int read_block_data(ALSDecContext
         int64_t      lpc_cof[sconf->max_order];
         unsigned int start = 0;
         int64_t      *res = ctx->residuals;
-        unsigned int sb, smp;
+        int          sb, smp;
         int64_t      y;
 
         *js_blocks |= get_bits1(gb);


More information about the FFmpeg-soc mailing list