mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/eatgq: move array to where it is used
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7e020f2141
commit
cdce6a8b97
@ -161,7 +161,6 @@ static int tgq_decode_mb(TgqContext *s, GetByteContext *gbyte,
|
||||
{
|
||||
int mode;
|
||||
int i;
|
||||
int8_t dc[6];
|
||||
|
||||
mode = bytestream2_get_byte(gbyte);
|
||||
if (mode > 12) {
|
||||
@ -178,6 +177,7 @@ static int tgq_decode_mb(TgqContext *s, GetByteContext *gbyte,
|
||||
tgq_idct_put_mb(s, s->block, frame, mb_x, mb_y);
|
||||
bytestream2_skip(gbyte, mode);
|
||||
} else {
|
||||
int8_t dc[6];
|
||||
if (mode == 1) {
|
||||
int x, y;
|
||||
int mv = bytestream2_get_byte(gbyte);
|
||||
|
Loading…
Reference in New Issue
Block a user