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
161{161{
162 int mode;162 int mode;
163 int i;163 int i;
164 int8_t dc[6];
165 164
166 mode = bytestream2_get_byte(gbyte);165 mode = bytestream2_get_byte(gbyte);
167 if (mode > 12) {166 if (mode > 12) {
@@ -178,6 +177,7 @@ static int tgq_decode_mb(TgqContext *s, GetByteContext *gbyte, · 10 unmodified lines
178 tgq_idct_put_mb(s, s->block, frame, mb_x, mb_y);177 tgq_idct_put_mb(s, s->block, frame, mb_x, mb_y);
179 bytestream2_skip(gbyte, mode);178 bytestream2_skip(gbyte, mode);
180 } else {179 } else {
180 int8_t dc[6];
181 if (mode == 1) {181 if (mode == 1) {
182 int x, y;182 int x, y;
183 int mv = bytestream2_get_byte(gbyte);183 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