shithub: libvpx

Download patch

ref: 467c66e84278ade11ab5b6bca67a353780c3bd42
parent: 7105df53d7dc13d5e575bc8df714ec8d1da36b06
author: Johann <[email protected]>
date: Tue Aug 25 10:53:09 EDT 2015

Mark Scale2Ratio INLINE

WebRTC builds with -Wunused-function do not like all the uses of onyx.h

Change-Id: Ic57cb143b48df9c9895f94b5f8f395c260fa7025

--- a/vp8/common/onyx.h
+++ b/vp8/common/onyx.h
@@ -65,7 +65,7 @@
 
 
 #include <assert.h>
-    static void Scale2Ratio(int mode, int *hr, int *hs)
+    static INLINE void Scale2Ratio(int mode, int *hr, int *hs)
     {
         switch (mode)
         {