X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=openmax%2Fcomponent%2Faudio%2Fdec%2Fmp3%2FExynos_OMX_Mp3dec.c;h=1ba38152a3988249a925cae4bd34ca1e93242632;hb=f34455209d002bbe1374cfbb01067d085efbb367;hp=56cc7d5c519faebe2e7a74f87fb3a42eca24e427;hpb=209a5e483e5bf95c12e79cac71a0018225b62c06;p=platform%2Fadaptation%2Fap_samsung%2Flibomxil-e3250-v4l2.git diff --git a/openmax/component/audio/dec/mp3/Exynos_OMX_Mp3dec.c b/openmax/component/audio/dec/mp3/Exynos_OMX_Mp3dec.c index 56cc7d5..1ba3815 100755 --- a/openmax/component/audio/dec/mp3/Exynos_OMX_Mp3dec.c +++ b/openmax/component/audio/dec/mp3/Exynos_OMX_Mp3dec.c @@ -130,7 +130,6 @@ OMX_ERRORTYPE Exynos_SRP_Mp3Dec_GetParameter( break; case OMX_IndexParamStandardComponentRole: { - OMX_S32 codecType; OMX_PARAM_COMPONENTROLETYPE *pComponentRole = (OMX_PARAM_COMPONENTROLETYPE *)pComponentParameterStructure; ret = Exynos_OMX_Check_SizeVersion(pComponentRole, sizeof(OMX_PARAM_COMPONENTROLETYPE)); @@ -397,7 +396,6 @@ OMX_ERRORTYPE Exynos_SRP_Mp3Dec_ComponentRoleEnum( OMX_ERRORTYPE ret = OMX_ErrorNone; OMX_COMPONENTTYPE *pOMXComponent = NULL; EXYNOS_OMX_BASECOMPONENT *pExynosComponent = NULL; - OMX_S32 codecType; FunctionIn(); @@ -458,7 +456,6 @@ OMX_ERRORTYPE Exynos_SRP_Mp3Dec_Init(OMX_COMPONENTTYPE *pOMXComponent) outFile = fopen("/data/OutFile.pcm", "w+"); #endif -EXIT: FunctionOut(); return ret; @@ -467,7 +464,6 @@ EXIT: OMX_ERRORTYPE Exynos_SRP_Mp3Dec_Terminate(OMX_COMPONENTTYPE *pOMXComponent) { OMX_ERRORTYPE ret = OMX_ErrorNone; - EXYNOS_OMX_BASECOMPONENT *pExynosComponent = (EXYNOS_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; FunctionIn(); @@ -476,7 +472,6 @@ OMX_ERRORTYPE Exynos_SRP_Mp3Dec_Terminate(OMX_COMPONENTTYPE *pOMXComponent) fclose(outFile); #endif -EXIT: FunctionOut(); return ret; @@ -678,7 +673,7 @@ OMX_ERRORTYPE Exynos_SRP_Mp3Dec_bufferProcess(OMX_COMPONENTTYPE *pOMXComponent, ret = Exynos_SRP_Mp3_Decode_Block(pOMXComponent, pInputData, pOutputData); if (ret != OMX_ErrorNone) { - if (ret == OMX_ErrorInputDataDecodeYet) { + if (ret == (OMX_ERRORTYPE)OMX_ErrorInputDataDecodeYet) { pOutputData->usedDataLen = 0; pOutputData->remainDataLen = pOutputData->dataLen; } else { @@ -717,7 +712,6 @@ OSCL_EXPORT_REF OMX_ERRORTYPE Exynos_OMX_ComponentInit(OMX_HANDLETYPE hComponent unsigned int outputBufferSize = 0; unsigned int outputBufferNum = 0; OMX_S32 returnCodec; - int i = 0; FunctionIn();