aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Niedermayer2019-12-07 20:23:25 +0100
committerMichael Niedermayer2019-12-08 13:08:23 +0100
commite3dddf2142e21354bbeb27809e7699900a19ee0c (patch)
tree8686bfc0e18e39f48323c52f001036b85d3b52ce /tools
parent1b4f473d181abaa0ff4e2d63862f61763a5a6860 (diff)
tools/target_dec_fuzzer: Also fuzz request_channel_layout
This should improve coverage Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools')
-rw-r--r--tools/target_dec_fuzzer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index dcf47b0f4d..cf66e2c449 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -210,6 +210,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
ctx->block_align = bytestream2_get_le32(&gbc);
ctx->codec_tag = bytestream2_get_le32(&gbc);
keyframes = bytestream2_get_le64(&gbc);
+ ctx->request_channel_layout = bytestream2_get_le64(&gbc);
if (extradata_size < size) {
ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);