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>
Wed, 16 Apr 2014 00:51:41 +0000 (02:51 +0200)
commitb8598f6ce61ccda3f2ff0c730b009fb650e42986
treeec2d7dc8cf3226d8d04cfb84878590181ef732a0
parentff6fa0b4b980fc5b9f7653d7b159ae02c3d95210
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>
libavcodec/diracdec.c