projects
/
platform
/
core
/
api
/
media-content.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72975bb
)
Add to check string valid for thumbnail path when thumbnail is completed
28/72128/1
author
Jiyong Min
<jiyong.min@samsung.com>
Mon, 30 May 2016 22:57:23 +0000
(07:57 +0900)
committer
Jiyong Min
<jiyong.min@samsung.com>
Mon, 30 May 2016 22:59:55 +0000
(07:59 +0900)
Change-Id: I5ce1cf9caa9d0689b976522c148c0be264e0119b
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
src/media_info.c
patch
|
blob
|
history
diff --git
a/src/media_info.c
b/src/media_info.c
index
ec3b50d
..
19e806a
100755
(executable)
--- a/
src/media_info.c
+++ b/
src/media_info.c
@@
-84,7
+84,7
@@
static void __media_info_thumbnail_completed_cb(int error, const char *path, voi
if (_thumb_cb != NULL) {
media = _thumb_cb->handle;
- if ((media != NULL) &&
(path != NULL
)) {
+ if ((media != NULL) &&
STRING_VALID(path
)) {
SAFE_FREE(media->thumbnail_path);
media->thumbnail_path = g_strdup(path);
}