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>
Sun, 4 Dec 2016 19:25:15 +0000 (20:25 +0100)
commit2c6792b0c68375a87aa1b6731b411d548bc1af05
treef308af2d451d6b02e48d0c0e65c493ef8979daf8
parent66bf84e2c4e14f18d96fc3dc495aadc3a9e8ec75
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