avcodec/flacdec: Fix signed integer overflow in decode_subframe_fixed()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Dec 2016 16:05:43 +0000 (17:05 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Dec 2016 17:29:12 +0000 (18:29 +0100)
commit140626b386c135ae54baff903a1abe22e5319a97
treeb62db2ec2670e7fc64e1b2f6efa93b55191d274b
parent4a2f30eeff17532526928456c3e735c1457757a0
avcodec/flacdec: Fix signed integer overflow in decode_subframe_fixed()

Fixes undefined behavior
Fixes: 640912-media

Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 83a75bf6c31b3c0ce2ca7e1426d1f2e3df634239)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/flacdec.c