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>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit4e5351940fe6a089c980079c2662c67a900992a2
tree6f9e3fe780bb0d7916d43be26d2a962b36641704
parent90ad2798ae71596dd396d556f36235c30e76c0f6
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