summaryrefslogtreecommitdiffstats
path: root/domx/omx_proxy_component/omx_camera
diff options
context:
space:
mode:
Diffstat (limited to 'domx/omx_proxy_component/omx_camera')
-rwxr-xr-xdomx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c b/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c
index b29c5f4..db138ec 100755
--- a/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c
+++ b/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c
@@ -415,8 +415,11 @@ OMX_ERRORTYPE DCC_Init(OMX_HANDLETYPE hComponent)
dccbuf_size = read_DCCdir(NULL, dcc_dir, nIndex);
- PROXY_assert(dccbuf_size > 0, OMX_ErrorInsufficientResources,
- "No DCC files found, switching back to default DCC");
+ if(dccbuf_size <= 0)
+ {
+ DOMX_DEBUG("No DCC files found, switching back to default DCC");
+ return OMX_ErrorInsufficientResources;
+ }
MemReqDescTiler =
(MemAllocBlock *) TIMM_OSAL_Malloc((sizeof(MemAllocBlock) * 2),