[FFmpeg-cvslog] r21656 - trunk/libavcodec/alac.c
jai_menon
subversion
Sat Feb 6 13:52:22 CET 2010
Author: jai_menon
Date: Sat Feb 6 13:52:22 2010
New Revision: 21656
Log:
Avoid using an intermediate variable.
Modified:
trunk/libavcodec/alac.c
Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c Sat Feb 6 13:48:37 2010 (r21655)
+++ trunk/libavcodec/alac.c Sat Feb 6 13:52:22 2010 (r21656)
@@ -646,8 +646,7 @@ static int alac_decode_frame(AVCodecCont
} else {
int i;
for (i = 0; i < outputsamples; i++) {
- int16_t sample = alac->outputsamples_buffer[0][i];
- ((int16_t*)outbuffer)[i] = sample;
+ ((int16_t*)outbuffer)[i] = alac->outputsamples_buffer[0][i];
}
}
break;
More information about the ffmpeg-cvslog
mailing list