[FFmpeg-cvslog] r21655 - trunk/libavcodec/alac.c

jai_menon subversion
Sat Feb 6 13:48:38 CET 2010


Author: jai_menon
Date: Sat Feb  6 13:48:37 2010
New Revision: 21655

Log:
Remove redundant use of numchannels since it is 1 for mono.

Modified:
   trunk/libavcodec/alac.c

Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c	Sat Feb  6 13:38:42 2010	(r21654)
+++ trunk/libavcodec/alac.c	Sat Feb  6 13:48:37 2010	(r21655)
@@ -647,7 +647,7 @@ static int alac_decode_frame(AVCodecCont
             int i;
             for (i = 0; i < outputsamples; i++) {
                 int16_t sample = alac->outputsamples_buffer[0][i];
-                ((int16_t*)outbuffer)[i * alac->numchannels] = sample;
+                ((int16_t*)outbuffer)[i] = sample;
             }
         }
         break;



More information about the ffmpeg-cvslog mailing list