swscale/swscale: fix integer overflow
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 24 Mar 2014 04:01:32 +0000 (05:01 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jun 2014 13:10:07 +0000 (15:10 +0200)
commitb8f6069bf3988c3e30bdc601238378355a77e4c4
tree3fbe7913f17ed6d488dec1238b6c1d3ecf752ba8
parent2b5b21dbaca07794a8c24d2c9095117a9958f6fa
swscale/swscale: fix integer overflow

Should fix fate failure with clang ftrapv

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c9c0451224fd7bc38b4e135e99f114f80c1ae67f)

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