Forgotten in 7800cc6e82068c6dfb5af53817f03dfda794c568.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -180,8 +180,6 @@ int ff_mpeg1_decode_block_intra(GetBitContext *gb, · 179 unmodified lines | ||
| 180 | 180 | component = index <= 3 ? 0 : index - 4 + 1; |
| 181 | 181 | |
| 182 | 182 | diff = decode_dc(gb, component); |
| 183 | − if (diff >= 0xffff) | |
| 184 | − return AVERROR_INVALIDDATA; | |
| 185 | 183 | |
| 186 | 184 | dc = last_dc[component]; |
| 187 | 185 | dc += diff; |