avcodec/wmalosslessdec: Fix several integer issues
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Nov 2019 13:22:57 +0000 (14:22 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Dec 2019 00:01:22 +0000 (01:01 +0100)
commitec3fe67074ad0a6a3a817f6f42175ea63a98092b
tree502988a06841b77cd68b2ef10f95ef43d05cd0f6
parent9d428265808255ad2fc60355fe641aaa4fd3dae4
avcodec/wmalosslessdec: Fix several integer issues

Fixes: shift exponent -1 is negative (and others)
Fixes: 18852/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-5660855295541248

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