summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHaejeong, Kim <backto.kim@samsung.com>2015-10-15 08:59:14 (GMT)
committerHaejeong, Kim <backto.kim@samsung.com>2015-10-16 00:22:54 (GMT)
commit43c07c05dd6821a249405477d8bd7912a11ff439 (patch)
tree808c73f787ba242e16017d4470640edc5fdc7290 /src/include
parenteb15572142170d12f0031380032e73b6e904b187 (diff)
downloadlibmedia-thumbnail-43c07c05dd6821a249405477d8bd7912a11ff439.zip
libmedia-thumbnail-43c07c05dd6821a249405477d8bd7912a11ff439.tar.gz
libmedia-thumbnail-43c07c05dd6821a249405477d8bd7912a11ff439.tar.bz2
Apply tizen coding rulerefs/changes/86/49586/3
Change-Id: Id3e53ece459151791f678fbbd230bf7f824afa18
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/util/media-thumb-debug.h10
-rwxr-xr-xsrc/include/util/media-thumb-util.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/include/util/media-thumb-debug.h b/src/include/util/media-thumb-debug.h
index cafd9d2..66ae59e 100755
--- a/src/include/util/media-thumb-debug.h
+++ b/src/include/util/media-thumb-debug.h
@@ -47,23 +47,23 @@
#define thumb_dbg(fmt, arg...) do{ \
LOGD(FONT_COLOR_RESET fmt "\n", ##arg); \
- } while(0)
+ } while (0)
#define thumb_warn(fmt, arg...) do{ \
LOGW(FONT_COLOR_GREEN fmt "\n", ##arg); \
- } while(0)
+ } while (0)
#define thumb_err(fmt, arg...) do{ \
LOGE(FONT_COLOR_RED fmt "\n", ##arg); \
- } while(0)
+ } while (0)
#define thumb_dbg_slog(fmt, arg...) do{ \
SECURE_LOGD(FONT_COLOR_RESET fmt "\n", ##arg); \
- } while(0)
+ } while (0)
#define thumb_warn_slog(fmt, arg...) do{ \
SECURE_LOGW(FONT_COLOR_GREEN fmt "\n", ##arg); \
- } while(0)
+ } while (0)
#define ERR_BUF_LENGHT 256
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index 6db86bc..9c2e4d3 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -25,9 +25,9 @@
#ifndef _MEDIA_THUMB_UTIL_H_
#define _MEDIA_THUMB_UTIL_H_
-#define SAFE_FREE(src) { if(src) {free(src); src = NULL;}}
+#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);} }
+ else { src = malloc(size); if (src) memset(src, 0x0, size);} }
typedef enum {
MEDIA_THUMB_BGRA, /* BGRA, especially provided for evas users */