avcodec/dvdec: Fix "left shift of negative value -254"
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 Jan 2016 16:43:56 +0000 (17:43 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 30 Jan 2016 23:25:20 +0000 (00:25 +0100)
commitd8cb5887c1cab236a36ddb4949610b67e16f57ed
treefa90824b0edb08000908a0da3f43213e6777163e
parent5c0d8a8387772bc9309e75a8974105031359330d
avcodec/dvdec: Fix "left shift of negative value -254"

Fixes: dvdec_left_shift.avi

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 93ac72a98dff592ffc174cfb36a8975dfbf145ae)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dvdec.c