diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2015-10-16 11:34:01 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2015-10-16 11:34:01 +0900 |
commit | d09bbffceb2babe51000ff3042c09febc3afaa09 (patch) | |
tree | 60e8fa7bba0b6bfe710cd0d9a314d5848c2d9f8d /src/util | |
parent | 43c07c05dd6821a249405477d8bd7912a11ff439 (diff) | |
download | libmedia-thumbnail-d09bbffceb2babe51000ff3042c09febc3afaa09.tar.gz libmedia-thumbnail-d09bbffceb2babe51000ff3042c09febc3afaa09.tar.bz2 libmedia-thumbnail-d09bbffceb2babe51000ff3042c09febc3afaa09.zip |
Fix prevent issuesubmit/tizen/20151016.024332accepted/tizen/wearable/20151016.043828accepted/tizen/tv/20151016.043821accepted/tizen/mobile/20151016.043749
Change-Id: I0da7fbf08691fc8a262584d0e4f8edbfbd809b45
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/util')
-rwxr-xr-x | src/util/media-thumb-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/media-thumb-util.c b/src/util/media-thumb-util.c index c487b6e..9d16281 100755 --- a/src/util/media-thumb-util.c +++ b/src/util/media-thumb-util.c @@ -90,7 +90,7 @@ _media_thumb_get_file_type(const char *file_full_path) int _media_thumb_get_store_type_by_path(const char *full_path) { - if (full_path != NULL) { + if (full_path != NULL && THUMB_PATH_PHONE != NULL && THUMB_PATH_MMC != NULL) { if (strncmp(full_path, THUMB_PATH_PHONE, strlen(THUMB_PATH_PHONE)) == 0) { return THUMB_PHONE; } else if (strncmp(full_path, THUMB_PATH_MMC, strlen(THUMB_PATH_MMC)) == 0) { |