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>
Sun, 4 Dec 2016 19:25:15 +0000 (20:25 +0100)
commit2d66fbc853ff7d22c30a597fe548e3ff952a1dc7
tree70bf264f07f98b82dd4cb721a12cad8008debd4f
parent2f26f3de780167c66f89ee74768fc82c1f599814
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