Avoid using an intermediate variable.

Originally committed as revision 21656 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jai Menon 2010-02-06 12:52:22 +00:00
parent b53ae8b6b1
commit f6d2916550
1 changed files with 1 additions and 2 deletions

View File

@ -646,8 +646,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
} 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;