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 16:16:21 +0000 (18:16 +0200)
commit90c7dfb907ee7d9e2d2d1513fc467226e12ebbff
tree4530e3a6d8c020e1e1c981acceaf2b3d89ef1e10
parent424b00a30021d800e58dd2a81aab07d49bc86d95
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