From: Vitor Sessak Date: Tue, 17 Jul 2007 23:51:34 +0000 (+0000) Subject: Move var. declaration to allow further clean up X-Git-Tag: v0.5~8270 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=d562ba238eb04eb36c6e39a51c0ab808d18465e5;hp=001ec026450ff64c80498945bc40f2ac928068d7 Move var. declaration to allow further clean up Originally committed as revision 9726 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/alac.c b/libavcodec/alac.c index df90d7e273..d83f85fcbd 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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 */