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>
Sat, 3 Dec 2016 16:32:33 +0000 (17:32 +0100)
commit5790ce62732fc4f384bb109b4d7cdf313e7310b8
tree08f336634fd9974bf18bde63018cc5f4d67de8d6
parentf202fefdb0ac86eb2b0e88f11bb63b7f9d2e2bc1
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