ffserver_config: check for INT_MIN before doing FFABS
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 9 Oct 2015 15:25:16 +0000 (11:25 -0400)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Tue, 13 Oct 2015 23:40:09 +0000 (19:40 -0400)
commit4c8ca76965b1c29758246624940cbc529e7141f0
tree7db7076d13519c7cd9b86e88365aaad504092584
parent74a87ae21075d694ada0d19705d9ec40b39d6037
ffserver_config: check for INT_MIN before doing FFABS

FFABS(INT_MIN) is not safe. Alternative of using FFNABS is not as
readable.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
ffserver_config.c