Merge "Stagefright: fix a compiler warning"
This commit is contained in:
@@ -419,7 +419,7 @@ status_t OMXNodeInstance::useGraphicBuffer2_l(
|
|||||||
def.nVersion.s.nStep = 0;
|
def.nVersion.s.nStep = 0;
|
||||||
def.nPortIndex = portIndex;
|
def.nPortIndex = portIndex;
|
||||||
OMX_ERRORTYPE err = OMX_GetParameter(mHandle, OMX_IndexParamPortDefinition, &def);
|
OMX_ERRORTYPE err = OMX_GetParameter(mHandle, OMX_IndexParamPortDefinition, &def);
|
||||||
if (err != OK)
|
if (err != OMX_ErrorNone)
|
||||||
{
|
{
|
||||||
LOGE("%s::%d:Error getting OMX_IndexParamPortDefinition", __FUNCTION__, __LINE__);
|
LOGE("%s::%d:Error getting OMX_IndexParamPortDefinition", __FUNCTION__, __LINE__);
|
||||||
return err;
|
return err;
|
||||||
|
|||||||
Reference in New Issue
Block a user