avutil/libm: Replace macro based fminf() by function
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Jun 2014 14:29:02 +0000 (16:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Jun 2014 15:18:14 +0000 (17:18 +0200)
commitafce8348432463e135f2de69844e55598539c6bf
treeee6eae76adf942a2c9eba9fa22ee556e65de5451
parentfa8f060b75bf9074792a0f9ff4ed002652ef62b8
avutil/libm: Replace macro based fminf() by function

This avoids issues when the FFMIN parameter evaluation has side effects

Reviewed-by: Clément Bœsch <u@pkh.me>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/libm.h