changeset 5358:f3a26c190f9a libavcodec

Move var. declaration to allow further clean up
author vitor
date Tue, 17 Jul 2007 23:51:34 +0000
parents 07c6fa478918
children 4743a1e95531
files alac.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Tue Jul 17 22:05:33 2007 +0000
+++ b/alac.c	Tue Jul 17 23:51:34 2007 +0000
@@ -466,6 +466,8 @@
     int readsamplesize;
     int wasted_bytes;
     int isnotcompressed;
+    uint8_t interlacing_shift;
+    uint8_t interlacing_leftweight;
 
     /* short-circuit null buffers */
     if (!inbuffer || !input_buffer_size)
@@ -625,8 +627,6 @@
         break;
     }
     case 2: { /* 2 channels */
-        uint8_t interlacing_shift;
-        uint8_t interlacing_leftweight;
 
         if (!isnotcompressed) {
          /* compressed */