aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurabh Bipin Chandra2013-05-10 08:25:45 -0500
committerSaurabh Bipin Chandra2013-05-23 01:47:10 -0500
commitdf35e0a2eb153e7a006c966c636cc2e4d380a736 (patch)
tree268947d6ed28a9cb653b079396fb6e53254c67af /libdce.c
parent68e7d479772512e467d9f365f4c1caf56b14341a (diff)
downloadrepo-libdce-df35e0a2eb153e7a006c966c636cc2e4d380a736.tar.gz
repo-libdce-df35e0a2eb153e7a006c966c636cc2e4d380a736.tar.xz
repo-libdce-df35e0a2eb153e7a006c966c636cc2e4d380a736.zip
[LIBDCE] Remove check for error_code in Engine_open
This patch removes check for error_code in Engine_open because the Codec Engine doesnot expect a valid address. Change-Id: Id3286a101e290f6d987017741a0c194f53c19f94 Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com>
Diffstat (limited to 'libdce.c')
-rw-r--r--libdce.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdce.c b/libdce.c
index bffebac..6808f00 100644
--- a/libdce.c
+++ b/libdce.c
@@ -224,7 +224,6 @@ Engine_Handle Engine_open(String name, Engine_Attrs *attrs, Engine_Error *ec)
224 Engine_Handle eng_handle = NULL; 224 Engine_Handle eng_handle = NULL;
225 225
226 _ASSERT(name != '\0', DCE_EINVALID_INPUT); 226 _ASSERT(name != '\0', DCE_EINVALID_INPUT);
227 _ASSERT(ec != NULL, DCE_EINVALID_INPUT);
228 227
229 /* Initialize DCE and IPC. In case of Error Deinitialize them */ 228 /* Initialize DCE and IPC. In case of Error Deinitialize them */
230 _ASSERT_AND_EXECUTE(dce_init() == DCE_EOK, DCE_EIPC_CREATE_FAIL, dce_deinit()); 229 _ASSERT_AND_EXECUTE(dce_init() == DCE_EOK, DCE_EIPC_CREATE_FAIL, dce_deinit());