Browse Source

Avoid using an intermediate variable.

Originally committed as revision 21656 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Jai Menon 15 years ago
parent
commit
f6d2916550
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/alac.c

+ 1
- 2
libavcodec/alac.c View File

@@ -646,8 +646,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
} else { } else {
int i; int i;
for (i = 0; i < outputsamples; 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; break;


Loading…
Cancel
Save