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

thilo.borgmann subversion at mplayerhq.hu
Wed Nov 11 17:25:38 CET 2009


Author: thilo.borgmann
Date: Wed Nov 11 17:25:38 2009
New Revision: 5438

Log:
Corrects array assignment.

Modified:
   als/alsdec.c

Modified: als/alsdec.c
==============================================================================
--- als/alsdec.c	Tue Nov 10 06:13:45 2009	(r5437)
+++ als/alsdec.c	Wed Nov 11 17:25:38 2009	(r5438)
@@ -1341,8 +1341,7 @@ static av_cold int decode_init(AVCodecCo
         }
 
         for (c = 0; c < avctx->channels; c++)
-            ctx->chan_data[c] = ctx->chan_data_buffer +
-                                c * sizeof(ALSChannelData);
+            ctx->chan_data[c] = ctx->chan_data_buffer + c;
     } else {
         ctx->chan_data        = NULL;
         ctx->chan_data_buffer = NULL;


More information about the FFmpeg-soc mailing list