avcodec/exr: Fix undefined left shifts of negative numbers
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 24 Sep 2019 22:03:07 +0000 (00:03 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 20 May 2020 01:35:10 +0000 (03:35 +0200)
commit4f5168e808c38391c7f89d834fc6d793dbba61e1
tree7a3c98e442cb9530f54a7858d9fc65600e6b2077
parentd58dab562b7229961e837b3e5205aa52fdc00a3e
avcodec/exr: Fix undefined left shifts of negative numbers

Affected the FATE-tests exr-rgb-scanline-pxr24-half-uint32-13x9 and
exr-rgb-scanline-pxr24-uint32.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8b0f949906116c40b6f1e55a1bce4447ada3219c)
libavcodec/exr.c