History

tools/target_dec_fuzzer: Test lowres

Michael Niedermayer committed 3 years ago

Commit 8d5de4e1 parent 402d98c1 file · +4 −0Browse files

Unified · Split

tools/target_dec_fuzzer.c+4−0
@@ -428,6 +428,10 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { · 427 unmodified lines
428 428
429 ctx->workaround_bugs = bytestream2_get_le32(&gbc);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 if (extradata_size < size) {435 if (extradata_size < size) {
432 ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);436 ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
433 if (ctx->extradata) {437 if (ctx->extradata) {

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