mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
Move var. declaration to allow further clean up
Originally committed as revision 9726 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
001ec02645
commit
d562ba238e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user