osal: cleaned up code
authorTaehwan Kim <t_h.kim@samsung.com>
Thu, 22 Nov 2012 06:04:04 +0000 (06:04 +0000)
committerTaehwan Kim <t_h.kim@samsung.com>
Thu, 22 Nov 2012 09:07:51 +0000 (09:07 +0000)
Change-Id: I33630bca0dec430bf743ce2f3125193a2dc37652
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
osal/Exynos_OSAL_Android.cpp

index ccbcaa243155fc442310a1b4fd8b348596b9d941..5738f927f06c4175f477dc3063c900ccb13fb3b5 100644 (file)
@@ -45,7 +45,6 @@
 #include "Exynos_OMX_Baseport.h"
 #include "Exynos_OMX_Basecomponent.h"
 #include "Exynos_OMX_Macros.h"
-#include "Exynos_OMX_Vdec.h"
 #include "Exynos_OSAL_Android.h"
 #include "exynos_format.h"
 
@@ -411,7 +410,6 @@ OMX_ERRORTYPE Exynos_OSAL_SetANBParameter(
     switch (nIndex) {
     case OMX_IndexParamEnableAndroidBuffers:
     {
-        EXYNOS_OMX_VIDEODEC_COMPONENT *pVideoDec = (EXYNOS_OMX_VIDEODEC_COMPONENT *)pExynosComponent->hComponentHandle;
         EnableAndroidNativeBuffersParams *pANBParams = (EnableAndroidNativeBuffersParams *) ComponentParameterStructure;
         OMX_U32 portIndex = pANBParams->nPortIndex;
         EXYNOS_OMX_BASEPORT *pExynosPort = NULL;
@@ -458,7 +456,6 @@ OMX_ERRORTYPE Exynos_OSAL_SetANBParameter(
 
     case OMX_IndexParamUseAndroidNativeBuffer:
     {
-        EXYNOS_OMX_VIDEODEC_COMPONENT *pVideoDec = (EXYNOS_OMX_VIDEODEC_COMPONENT *)pExynosComponent->hComponentHandle;
         UseAndroidNativeBufferParams *pANBParams = (UseAndroidNativeBufferParams *) ComponentParameterStructure;
         OMX_U32 portIndex = pANBParams->nPortIndex;
         EXYNOS_OMX_BASEPORT *pExynosPort = NULL;