projects
/
platform
/
adaptation
/
ap_samsung
/
libomxil-e3250-v4l2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e24ed63
)
fixed svace issue
51/171751/1
accepted/tizen/unified/20180313.162846
submit/tizen/20180308.104235
author
Sejun Park
<sejun79.park@samsung.com>
Wed, 7 Mar 2018 05:26:57 +0000
(14:26 +0900)
committer
Sejun Park
<sejun79.park@samsung.com>
Wed, 7 Mar 2018 05:27:09 +0000
(14:27 +0900)
Change-Id: Ic5ee617ff7a40927f0361c878f48832ce92df310
exynos/libcsc/csc.c
patch
|
blob
|
history
diff --git
a/exynos/libcsc/csc.c
b/exynos/libcsc/csc.c
index
a55a011
..
39c0e0e
100644
(file)
--- a/
exynos/libcsc/csc.c
+++ b/
exynos/libcsc/csc.c
@@
-439,6
+439,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;
}
}
@@
-804,7
+805,10
@@
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);