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)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Nov 2015 23:00:57 +0000 (00:00 +0100)
commite10c353ca5c34054aa42bbfba3c992ca947c59db
treef42107174f03e7ba062dc805cfea343529b5a407
parent72be96ac5522c83eb7f2b7c1cc1858013ac42488
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>
(cherry picked from commit 9ac61e73d0843ec4b83f4e3d47eded73234e406e)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/softfloat.h