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>
Sun, 17 Sep 2017 10:21:32 +0000 (12:21 +0200)
commit0a5251d28eb6250fd5c1260bcf2ac72c12568da8
treebf4aa0b94c517334a89b76ac941043e5d7e385c4
parent2cfabd8ce7913dcf4d5413441d0fb5a02cd18884
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