Move var. declaration to allow further clean up
authorVitor Sessak <vitor1001@gmail.com>
Tue, 17 Jul 2007 23:51:34 +0000 (23:51 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Tue, 17 Jul 2007 23:51:34 +0000 (23:51 +0000)
Originally committed as revision 9726 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/alac.c

index df90d7e27306b053e2ee73f954fd870070b72642..d83f85fcbd3aae8e7458449be130782a2ed3f173 100644 (file)
@@ -466,6 +466,8 @@ static int alac_decode_frame(AVCodecContext *avctx,
     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 @@ static int alac_decode_frame(AVCodecContext *avctx,
         break;
     }
     case 2: { /* 2 channels */
-        uint8_t interlacing_shift;
-        uint8_t interlacing_leftweight;
 
         if (!isnotcompressed) {
          /* compressed */