diff options
author | Sejun Park <sejun79.park@samsung.com> | 2018-09-04 11:29:37 +0900 |
---|---|---|
committer | Sejun Park <sejun79.park@samsung.com> | 2018-09-04 11:32:23 +0900 |
commit | a11ea8ea74a76357f04af5756b45b1e2f754b911 (patch) | |
tree | edf4b34d51b68f183cc5a4b72519a2e10b2c8b01 | |
parent | 3d7b22c50b70df6851186bdea923ec521f864ef1 (diff) | |
download | libomxil-e7270-v4l2-a11ea8ea74a76357f04af5756b45b1e2f754b911.tar.gz libomxil-e7270-v4l2-a11ea8ea74a76357f04af5756b45b1e2f754b911.tar.bz2 libomxil-e7270-v4l2-a11ea8ea74a76357f04af5756b45b1e2f754b911.zip |
missing unlock : Returning without unlockingsubmit/tizen/20180905.024830accepted/tizen/unified/20180905.140149
Change-Id: If7784b337df813e31df2dcd570f18b95c181c121
-rwxr-xr-x | openmax/component/video/enc/Exynos_OMX_VencControl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openmax/component/video/enc/Exynos_OMX_VencControl.c b/openmax/component/video/enc/Exynos_OMX_VencControl.c index e8846f4..1d1cfba 100755 --- a/openmax/component/video/enc/Exynos_OMX_VencControl.c +++ b/openmax/component/video/enc/Exynos_OMX_VencControl.c @@ -747,7 +747,7 @@ OMX_ERRORTYPE Exynos_OMX_BufferFlush( ret = Exynos_OMX_FlushPort(pOMXComponent, nPortIndex); if (ret != OMX_ErrorNone) - goto EXIT; + goto MUTEX_EXIT; if (pExynosPort->bufferProcessType & BUFFER_COPY) pVideoEnc->exynos_codec_enqueueAllBuffer(pOMXComponent, nPortIndex); @@ -783,6 +783,7 @@ OMX_ERRORTYPE Exynos_OMX_BufferFlush( #endif } +MUTEX_EXIT: if (pDataBuffer[1] != NULL) Exynos_OSAL_MutexUnlock(pDataBuffer[1]->bufferMutex); |