swresample/audioconvert: Fix undefined behavior (left shift of negative value)
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Oct 2014 02:18:27 +0000 (04:18 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Oct 2014 03:35:06 +0000 (05:35 +0200)
commit344f8d307ac766c812b4c33331235e8ac9120a9f
treeffaed1355d2f0611430aab097a61c4090c2803f0
parent9db9b209e3a32ecce93378a24fb931d7db35b1c2
swresample/audioconvert: Fix undefined behavior (left shift of negative value)

Fixes: asan_heap-oob_4da4f3_8_asan_heap-oob_4da4f3_419_scene1a.mm

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/audioconvert.c