aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c4
1 files changed, 2 insertions, 2 deletions
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 */