avcodec/flacdec: Fix undefined shift in decode_subframe()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Dec 2016 23:11:17 +0000 (00:11 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Dec 2016 17:29:12 +0000 (18:29 +0100)
commitf788507607ad9719c158c94cc58704048ac83f89
treefb886b1e93c279c0b39fb6aeb9a4747c8f681724
parent5c1540553db04a1256d97a1992088e8fd8c0a6ea
avcodec/flacdec: Fix undefined shift in decode_subframe()

Fixes undefined behavior
Fixes: 639961-media

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