Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -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); |