projects
/
platform
/
adaptation
/
ap_samsung
/
libomxil-e54xx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d4cac
)
fixed coverity issues
73/172673/1
accepted/tizen/unified/20180316.062611
submit/tizen/20180315.080954
author
Sejun Park
<sejun79.park@samsung.com>
Thu, 15 Mar 2018 06:29:28 +0000
(15:29 +0900)
committer
Sejun Park
<sejun79.park@samsung.com>
Thu, 15 Mar 2018 06:29:41 +0000
(15:29 +0900)
Change-Id: Idb8b46bbb22c7d15367ca4dfa3458bf958ff7dcc
exynos/libcsc/csc.c
patch
|
blob
|
history
diff --git
a/exynos/libcsc/csc.c
b/exynos/libcsc/csc.c
index 3e4df26a3717ad31f96a1e2b10b08921c3a56d45..38dd0c342970428f60509fdf054feaf035aa563e 100755
(executable)
--- a/
exynos/libcsc/csc.c
+++ b/
exynos/libcsc/csc.c
@@
-440,6
+440,7
@@
static CSC_ERRORCODE csc_init_hw(
ALOGE("%s:: CSC_METHOD_HW can't open HW", __func__);
free(csc_handle);
csc_handle = NULL;
+ return CSC_ErrorNotInit;
}
}
@@
-803,7
+804,9
@@
CSC_ERRORCODE csc_convert(
if ((csc_handle->csc_method == CSC_METHOD_HW) &&
(csc_handle->csc_hw_handle == NULL))
- csc_init_hw(handle);
+ ret = csc_init_hw(handle);
+ if (ret != CSC_ErrorNone)
+ return ret;
csc_set_format(csc_handle);
csc_set_buffer(csc_handle);