summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-04-13 09:35:15 (GMT)
committerHaejeong Kim <backto.kim@samsung.com>2017-04-13 09:35:15 (GMT)
commit3a8c9ceded482a3df2056bfb98cef172deff16d3 (patch)
treeb279b0826744852c08c471bd0d435c02bbaf2481 /src/include
parentf238209b9c81de1606cc43ea4c4e31465a73aaa3 (diff)
downloadlibmedia-thumbnail-3a8c9ceded482a3df2056bfb98cef172deff16d3.zip
libmedia-thumbnail-3a8c9ceded482a3df2056bfb98cef172deff16d3.tar.gz
libmedia-thumbnail-3a8c9ceded482a3df2056bfb98cef172deff16d3.tar.bz2
Change-Id: I1ad4f3628e6c96a78e2523ab8646adbd8ea48e9c
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/util/media-thumb-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index f8ff57a..046110c 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -28,6 +28,7 @@
#define SAFE_FREE(src) { if (src) {free(src); src = NULL; } }
#define THUMB_MALLOC(src, size) { if (size <= 0) {src = NULL; } \
else { src = malloc(size); if (src) memset(src, 0x0, size); } }
+#define SAFE_STRLCPY(dst, src, n) g_strlcpy(dst, src, n);
typedef enum {
MEDIA_THUMB_BGRA, /* BGRA, especially provided for evas users */