avcodec/mlpdsp: Fix undefined shift ff_mlp_pack_output()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Nov 2017 02:38:37 +0000 (03:38 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 21 Nov 2017 02:26:43 +0000 (03:26 +0100)
commit5fae049904c51fe211b5aefc8651b3a2ca8c2bce
tree91aa98caf97137d57f59b44c322498a8e2f68d3d
parenta756841102b7ce681addf701942286b87911c542
avcodec/mlpdsp: Fix undefined shift ff_mlp_pack_output()

Fixes: runtime error: left shift of negative value -7862264
Fixes: 4074/clusterfuzz-testcase-minimized-4516104123711488

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 4f7f70738e8dd77a698a5e28bba552ea7064af21)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mlpdsp.c