Unified · Split
| @@ -428,6 +428,10 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { · 427 unmodified lines | ||
| 428 | 428 | |
| 429 | 429 | ctx->workaround_bugs = bytestream2_get_le32(&gbc); |
| 430 | 430 | |
| 431 | + if (c->p.max_lowres) { | |
| 432 | + ctx->lowres = bytestream2_get_byte(&gbc) % (c->p.max_lowres+1); | |
| 433 | + } | |
| 434 | + | |
| 431 | 435 | if (extradata_size < size) { |
| 432 | 436 | ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); |
| 433 | 437 | if (ctx->extradata) { |