Browse code

Avoid using an intermediate variable.

Originally committed as revision 21656 to svn://svn.ffmpeg.org/ffmpeg/trunk

Jai Menon authored on 2010/02/06 21:52:22
Showing 1 changed files
... ...
@@ -646,8 +646,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
646 646
         } else {
647 647
             int i;
648 648
             for (i = 0; i < outputsamples; i++) {
649
-                int16_t sample = alac->outputsamples_buffer[0][i];
650
-                ((int16_t*)outbuffer)[i] = sample;
649
+                ((int16_t*)outbuffer)[i] = alac->outputsamples_buffer[0][i];
651 650
             }
652 651
         }
653 652
         break;