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>
Fri, 15 Jan 2016 16:23:55 +0000 (17:23 +0100)
commit526b5facc59e5d45aac5b3832a04b3af28f038b0
treeb066a7c0810be667a4a328a5fd970d367c5d5c4a
parentbb1263185b609663dfcdaad616b5667a2f4cd2d9
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