avcodec/flacdsp_template: Fix undefined shift in flac_decorrelate_indep_c
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Dec 2016 15:43:10 +0000 (16:43 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Dec 2016 19:25:15 +0000 (20:25 +0100)
commit2f26f3de780167c66f89ee74768fc82c1f599814
treebc37afdcee3d10c4dc4a88a3313259c86b9df4a9
parente9003828dd7ea167133266e3c6bd7a8f3ed200fb
avcodec/flacdsp_template: Fix undefined shift in flac_decorrelate_indep_c

Fixes: left shift of negative value
Fixes: 668346-media

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