projects
/
platform
/
core
/
api
/
thumbnail-util.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b35ff
)
Fix coverity issues
36/173636/2
accepted/tizen/unified/20180326.075220
submit/tizen/20180323.043859
author
hj kim
<backto.kim@samsung.com>
Fri, 23 Mar 2018 00:33:45 +0000
(09:33 +0900)
committer
Minje ahn
<minje.ahn@samsung.com>
Fri, 23 Mar 2018 04:34:23 +0000
(
04:34
+0000)
Change-Id: I4c3d1f66825418d3c2b26b5507af2a3dd1d2fda5
src/thumbnail_util.c
patch
|
blob
|
history
diff --git
a/src/thumbnail_util.c
b/src/thumbnail_util.c
index
5252432
..
e722f80
100755
(executable)
--- a/
src/thumbnail_util.c
+++ b/
src/thumbnail_util.c
@@
-351,7
+351,11
@@
int _thumbnail_util_extract_video(thumbnail_data_s *thumb)
goto ERROR;
}
- mm_util_create_handle(&img, frame, width, height, size, MM_UTIL_COLOR_RGB24);
+ ret = mm_util_create_handle(&img, frame, width, height, size, MM_UTIL_COLOR_RGB24);
+ if (ret != MM_UTIL_ERROR_NONE) {
+ thumbnail_util_error("Failed to mm_util_create_handle");
+ goto ERROR;
+ }
if (thumb->extract_type == THUMBNAIL_UTIL_FILE) {
ret = mm_util_resize_B_P(img, thumb->width, thumb->height, thumb->thumbnail_path);