softfloat: handle INT_MIN correctly in av_int2sf
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 8 Nov 2015 16:19:10 +0000 (17:19 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 8 Nov 2015 20:06:40 +0000 (21:06 +0100)
commit9ac61e73d0843ec4b83f4e3d47eded73234e406e
tree52f40c2e062b62590a52fc829634b39e62b5af44
parentf3866a14c3c2949fad16267e9f2977ba9d7b5504
softfloat: handle INT_MIN correctly in av_int2sf

Otherwise v=INT_MIN doesn't get normalized and thus triggers av_assert2
in other functions.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavutil/softfloat.h