avcodec/mlpdec: Do not leave invalid values in matrix_out_ch[] on error
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 27 May 2017 11:17:34 +0000 (13:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 27 May 2017 12:37:42 +0000 (14:37 +0200)
commitac8dfcbd89a818b786d05ebc1af70f7bf6aeb86e
tree394c54c036d0458353742ba27857a1bdcecf0ff0
parent53c0c637d36c1de9ea461a8d863e8703da090894
avcodec/mlpdec: Do not leave invalid values in matrix_out_ch[] on error

Fixes: runtime error: index 12 out of bounds for type 'uint8_t [8]'
Fixes: 1832/clusterfuzz-testcase-minimized-6574546079449088

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mlpdec.c