summaryrefslogtreecommitdiff
path: root/src/media-thumb-internal.c
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2017-04-06 10:45:54 (GMT)
committerJiyong Min <jiyong.min@samsung.com>2017-04-07 10:45:37 (GMT)
commite10f2207aeea99bcde0258359d4d336d4ae9d253 (patch)
treef6c8682ab5615500ad79896a7ade961ccf5df34d /src/media-thumb-internal.c
parentaee150adb2f1ea46f8ab3e1ee32896338bc811eb (diff)
downloadlibmedia-thumbnail-e10f2207aeea99bcde0258359d4d336d4ae9d253.zip
libmedia-thumbnail-e10f2207aeea99bcde0258359d4d336d4ae9d253.tar.gz
libmedia-thumbnail-e10f2207aeea99bcde0258359d4d336d4ae9d253.tar.bz2
Check Error type and remove Unused coderefs/changes/71/123671/8
1. Check Proper Error Type when create thumbnail and return it to App. 2. Remove unused THUMB_REQUEST_SAVE_FILE related code Change-Id: Idf40c8f3a515319bcccce81dcd49d7cda8d56165 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Diffstat (limited to 'src/media-thumb-internal.c')
-rwxr-xr-xsrc/media-thumb-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index adc96e4..28914f0 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -1310,7 +1310,7 @@ int _media_thumb_image(const char *origin_path,
}
thumb_warn("Unsupported image type");
- return MS_MEDIA_ERR_INVALID_PARAMETER;
+ return MS_MEDIA_ERR_THUMB_UNSUPPORTED;
}
return err;