avcodec/hevc_ps: Fix c?_qp_offset_list size
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 Sep 2017 19:10:17 +0000 (21:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 12 Sep 2017 00:30:39 +0000 (02:30 +0200)
commit53ff525c50441442ac1262128ded3134b4010503
treea61976ec3e6d3b8c355763d079dcf535b5c1d68c
parent792aeda9b4f9f7a110671f9fb1c26db913c229d2
avcodec/hevc_ps: Fix c?_qp_offset_list size

Fixes: runtime error: index 5 out of bounds for type 'int8_t const[5]'
Fixes:3175/clusterfuzz-testcase-minimized-4736774054084608

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit abf3f9fa232409c00b60041464604a91fa5612c0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevc.h