diff options
Diffstat (limited to 'domx')
-rw-r--r-- | domx/omx_proxy_common/src/omx_proxy_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/domx/omx_proxy_common/src/omx_proxy_common.c b/domx/omx_proxy_common/src/omx_proxy_common.c index 9dc8e7c..a5aac98 100644 --- a/domx/omx_proxy_common/src/omx_proxy_common.c +++ b/domx/omx_proxy_common/src/omx_proxy_common.c @@ -1203,6 +1203,8 @@ static OMX_ERRORTYPE PROXY_FreeBuffer(OMX_IN OMX_HANDLETYPE hComponent, if (pCompPrv->tBufList[count].pBufHeader) { #ifdef USE_ION + if(pCompPrv->tBufList[count].pYBuffer) + { (void)RPC_UTIL_GetStride(pCompPrv->hRemoteComp, nPortIndex, &nStride); if (nStride == 0 && pCompPrv->bUseIon == OMX_TRUE) { @@ -1214,6 +1216,7 @@ static OMX_ERRORTYPE PROXY_FreeBuffer(OMX_IN OMX_HANDLETYPE hComponent, ion_free(pCompPrv->ion_fd, pCompPrv->tBufList[count].pYBuffer); pCompPrv->tBufList[count].pYBuffer = NULL; } + } #endif #ifdef ALLOCATE_TILER_BUFFER_IN_PROXY if(pCompPrv->tBufList[count].pYBuffer) |