changeset 11081:0d56d489e695 libavcodec

Avoid using an intermediate variable.
author jai_menon
date Sat, 06 Feb 2010 12:52:22 +0000
parents dfade8d02b92
children f48de939cf88
files alac.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Sat Feb 06 12:48:37 2010 +0000
+++ b/alac.c	Sat Feb 06 12:52:22 2010 +0000
@@ -646,8 +646,7 @@
         } 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;