summaryrefslogtreecommitdiffstats
path: root/domx/omx_proxy_component/omx_camera
diff options
context:
space:
mode:
authorSarthak Aggarwal <sarthak@ti.com>2011-08-11 10:06:49 +0530
committerIliyan Malchev <malchev@google.com>2011-08-24 18:25:37 -0700
commit49f42f954f02c39aa4d25520a4caa3f0b459aa40 (patch)
tree5f2e0852533ece653db69798ab6a44ad44acab1c /domx/omx_proxy_component/omx_camera
parent03187db146a199f5274a89261e3a6372587c483e (diff)
downloadhardware_ti_omap4xxx-49f42f954f02c39aa4d25520a4caa3f0b459aa40.zip
hardware_ti_omap4xxx-49f42f954f02c39aa4d25520a4caa3f0b459aa40.tar.gz
hardware_ti_omap4xxx-49f42f954f02c39aa4d25520a4caa3f0b459aa40.tar.bz2
Moving Bitstream buffers to ION
The patch moves 1d bitstream buffers needed by video codecs from MemMngr to ION. Change-Id: I56f010f904a64ae0d36bbc8925498f3748a0ab42 Signed-Off-By:Sarthak Aggarwal<sarthak@ti.com>
Diffstat (limited to 'domx/omx_proxy_component/omx_camera')
-rwxr-xr-xdomx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c2
1 files changed, 1 insertions, 1 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 fb1a7de..b29c5f4 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
@@ -402,7 +402,7 @@ OMX_ERRORTYPE DCC_Init(OMX_HANDLETYPE hComponent)
PROXY_assert(dcc_dir[nIndex] != NULL,
OMX_ErrorInsufficientResources, "Malloc failed");
strcpy(dcc_dir[nIndex], DCC_PATH);
- strcat(dcc_dir[nIndex], (OMX_STRING) param.sDCCURI);
+ strncat(dcc_dir[nIndex], (OMX_STRING) param.sDCCURI, MAX_URI_LENGTH);
strcat(dcc_dir[nIndex], "/");
}
}