[FFmpeg-cvslog] avutil/libm: fix fminf typo

Michael Niedermayer git at videolan.org
Fri Jun 6 15:54:50 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun  6 15:45:09 2014 +0200| [2c1bf3fc964b9fc8eaaedd94e737fcc2ace6cc37] | committer: Michael Niedermayer

avutil/libm: fix fminf typo

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2c1bf3fc964b9fc8eaaedd94e737fcc2ace6cc37
---

 libavutil/libm.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/libm.h b/libavutil/libm.h
index 9e0a64b..8f27fa3 100644
--- a/libavutil/libm.h
+++ b/libavutil/libm.h
@@ -84,7 +84,7 @@ static av_always_inline float cbrtf(float x)
 
 #if !HAVE_FMINF
 #undef fminf
-#define fminf(x, y) ((float)fminf(x,y))
+#define fminf(x, y) ((float)fmin(x,y))
 #endif
 
 #if !HAVE_ISINF



More information about the ffmpeg-cvslog mailing list