]> granicus.if.org Git - libvpx/commitdiff
Mark Scale2Ratio INLINE
authorJohann <johannkoenig@google.com>
Tue, 25 Aug 2015 21:53:09 +0000 (14:53 -0700)
committerJohann <johannkoenig@google.com>
Tue, 25 Aug 2015 21:56:18 +0000 (14:56 -0700)
WebRTC builds with -Wunused-function do not like all the uses of onyx.h

Change-Id: Ic57cb143b48df9c9895f94b5f8f395c260fa7025

vp8/common/onyx.h

index f39b675cd508f35d0f5a9b75750b48d1d0e96547..febe81505a3497d988fcc273b0fac367ee66a0ce 100644 (file)
@@ -65,7 +65,7 @@ extern "C"
 
 
 #include <assert.h>
-    static void Scale2Ratio(int mode, int *hr, int *hs)
+    static INLINE void Scale2Ratio(int mode, int *hr, int *hs)
     {
         switch (mode)
         {