Commit f6d29165 authored by Jai Menon's avatar Jai Menon

Avoid using an intermediate variable.

Originally committed as revision 21656 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b53ae8b6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment