[SCM] libav/experimental: floorf() is not used, and causes warnings on Solaris

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:48:42 UTC 2013


The following commit has been merged in the experimental branch:
commit 959e63c9ba5fe51dcf3e622bb1c8a74bb8761dde
Author: Måns Rullgård <mans at mansr.com>
Date:   Tue Jul 4 22:39:23 2006 +0000

    floorf() is not used, and causes warnings on Solaris
    
    Originally committed as revision 5617 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/common.h b/libavutil/common.h
index c951f5b..6ef2a13 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -182,12 +182,6 @@ typedef uint64_t      uint_fast64_t;
 #    endif
 #endif
 
-#if defined(CONFIG_OS2) || defined(CONFIG_SUNOS)
-static inline float floorf(float f) {
-    return floor(f);
-}
-#endif
-
 #ifdef CONFIG_WIN32
 
 /* windows */

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list