History

avcodec/eatgq: move array to where it is used

Michael Niedermayer committed 2 years ago

Commit cdce6a81 parent 7e020f21 file · +1 −1Browse files

Unified · Split

libavcodec/eatgq.c+1−1
@@ -161,7 +161,6 @@ static int tgq_decode_mb(TgqContext *s, GetByteContext *gbyte, · 160 unmodified lines
161161 {
162162 int mode;
163163 int i;
164− int8_t dc[6];
165164
166165 mode = bytestream2_get_byte(gbyte);
167166 if (mode > 12) {
@@ -178,6 +177,7 @@ static int tgq_decode_mb(TgqContext *s, GetByteContext *gbyte, · 10 unmodified lines
178177 tgq_idct_put_mb(s, s->block, frame, mb_x, mb_y);
179178 bytestream2_skip(gbyte, mode);
180179 } else {
180+ int8_t dc[6];
181181 if (mode == 1) {
182182 int x, y;
183183 int mv = bytestream2_get_byte(gbyte);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t