Mark Scale2Ratio INLINE

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

Change-Id: Ic57cb143b48df9c9895f94b5f8f395c260fa7025
This commit is contained in:
Johann 2015-08-25 14:53:09 -07:00
parent 7105df53d7
commit 467c66e842

View File

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