aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/Android.mk1
-rw-r--r--core/src/pv_omx_interface.cpp1
-rw-r--r--core/src/wrs_omxcore.cpp18
3 files changed, 2 insertions, 18 deletions
diff --git a/core/src/Android.mk b/core/src/Android.mk
index 9bbddfe..6dc2f33 100644
--- a/core/src/Android.mk
+++ b/core/src/Android.mk
@@ -26,4 +26,5 @@ LOCAL_C_INCLUDES := \
$(TOP)/frameworks/native/include/media/openmax \
$(PV_INCLUDES)
+LOCAL_CFLAGS += -Werror
include $(BUILD_SHARED_LIBRARY)
diff --git a/core/src/pv_omx_interface.cpp b/core/src/pv_omx_interface.cpp
index 3e1b928..0db0dc3 100644
--- a/core/src/pv_omx_interface.cpp
+++ b/core/src/pv_omx_interface.cpp
@@ -65,7 +65,6 @@ class PVOMXInterface : public OMXInterface
pOMX_FreeHandle = OMX_FreeHandle;
pOMX_GetComponentsOfRole = OMX_GetComponentsOfRole;
pOMX_GetRolesOfComponent = OMX_GetRolesOfComponent;
- pOMX_SetupTunnel = OMX_SetupTunnel;
pOMX_GetContentPipe = OMX_GetContentPipe;
pOMXConfigParser = Intel_OMXConfigParser;
};
diff --git a/core/src/wrs_omxcore.cpp b/core/src/wrs_omxcore.cpp
index cbf7a8b..412b7d4 100644
--- a/core/src/wrs_omxcore.cpp
+++ b/core/src/wrs_omxcore.cpp
@@ -186,7 +186,7 @@ OMX_API OMX_ERRORTYPE OMX_APIENTRY OMX_ComponentNameEnum(
strncpy(cComponentName, cname, nNameLength);
- LOGV("%s(): found %luth component %s", __FUNCTION__, nIndex, cname);
+ LOGV("%s(): found %u th component %s", __FUNCTION__, nIndex, cname);
return OMX_ErrorNone;
}
@@ -307,22 +307,6 @@ OMX_API OMX_ERRORTYPE OMX_APIENTRY OMX_FreeHandle(
return OMX_ErrorNone;
}
-OMX_API OMX_ERRORTYPE OMX_APIENTRY OMX_SetupTunnel(
- OMX_IN OMX_HANDLETYPE hOutput,
- OMX_IN OMX_U32 nPortOutput,
- OMX_IN OMX_HANDLETYPE hInput,
- OMX_IN OMX_U32 nPortInput)
-{
- return OMX_ErrorNotImplemented;
-}
-
-OMX_API OMX_ERRORTYPE OMX_GetContentPipe(
- OMX_OUT OMX_HANDLETYPE *hPipe,
- OMX_IN OMX_STRING szURI)
-{
- return OMX_ErrorNotImplemented;
-}
-
OMX_API OMX_ERRORTYPE OMX_GetComponentsOfRole (
OMX_IN OMX_STRING role,
OMX_INOUT OMX_U32 *pNumComps,