Commit 0c07eb52 authored by Michael Niedermayer's avatar Michael Niedermayer

tools/target_dec_fuzzer: Also fuzz block_align

This should improve coverage
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 79522411
......@@ -185,6 +185,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
ctx->sample_rate = bytestream2_get_le32(&gbc);
ctx->channels = (unsigned)bytestream2_get_le32(&gbc) % FF_SANE_NB_CHANNELS;
ctx->block_align = bytestream2_get_le32(&gbc);
if (extradata_size < size) {
ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment