avutil/imgutils: correctly check for negative SAR components
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Feb 2015 20:57:11 +0000 (21:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Feb 2015 20:57:11 +0000 (21:57 +0100)
commit5705dc527687fd84d94c934169b6bd753459744f
tree77cac834107115e21b3cacd708622d69bf87ba14
parent5f1ea0bfc53ac221abf312aeb79cb693f3a6e07d
avutil/imgutils: correctly check for negative SAR components

These could trigger assert failures previously

Found-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/imgutils.c