avcodec/diracdec: fix undefined behavior with shifts
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Apr 2014 00:06:37 +0000 (02:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jun 2014 14:51:08 +0000 (16:51 +0200)
commitec2ce83913ca770f9f8dc5fb6052d36dc25011ed
tree78c49d50209ffbec59a0bd4d9c0d849ccaf43eee
parent1d912513703967023748f020dbb999ed6c3d83ea
avcodec/diracdec: fix undefined behavior with shifts

Fixes part of Ticket3466
Found-by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b8598f6ce61ccda3f2ff0c730b009fb650e42986)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/diracdec.c