summaryrefslogtreecommitdiff
path: root/libavcodec/evc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-07-27 00:14:15 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2023-07-28 02:12:12 +0200
commitcf9cd35aa9d1db9d7b6b3e9207b47432fdb6fe5e (patch)
tree746d64d28150b90e83a24a7e70c1cec1f015c18f /libavcodec/evc.h
parentf983303af4f53c9837fe8dddd39f20826651db17 (diff)
avcodec/evc_ps: Check num_ref_pic_list_in_sps
Fixes: out of array write Fixes: 60798/clusterfuzz-testcase-minimized-ffmpeg_BSF_EVC_FRAME_MERGE_fuzzer-4633529766772736 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/evc.h')
-rw-r--r--libavcodec/evc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/evc.h b/libavcodec/evc.h
index d1fdb4fac6..9711c760fe 100644
--- a/libavcodec/evc.h
+++ b/libavcodec/evc.h
@@ -126,7 +126,7 @@ enum {
EVC_MAX_NUM_REF_PICS = 21,
- EVC_MAX_NUM_RPLS = 32,
+ EVC_MAX_NUM_RPLS = 64,
// A.4.1: pic_width_in_luma_samples and pic_height_in_luma_samples are
// constrained to be not greater than sqrt(MaxLumaPs * 8). Hence height/