summaryrefslogtreecommitdiff
path: root/server/thumb-server-internal.c
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2017-04-24 08:19:01 (GMT)
committerJiyong Min <jiyong.min@samsung.com>2017-04-24 08:20:54 (GMT)
commit7f0656b53cddb9d9ae44a97041a81b4cd1415130 (patch)
tree8f674d613d42d1a74ea1c0b9a4489e1e5779d023 /server/thumb-server-internal.c
parentae423df2d88f5700a5711a94c267056c32b596b8 (diff)
downloadlibmedia-thumbnail-7f0656b53cddb9d9ae44a97041a81b4cd1415130.zip
libmedia-thumbnail-7f0656b53cddb9d9ae44a97041a81b4cd1415130.tar.gz
libmedia-thumbnail-7f0656b53cddb9d9ae44a97041a81b4cd1415130.tar.bz2
Modify to return unsupported content error for thumbnail-utilsubmit/tizen/20170425.005749accepted/tizen/unified/20170425.045009refs/changes/94/126594/1
Change-Id: Ic0fb57416a3334e95054aa499737ed6eef3e7575 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-xserver/thumb-server-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index b9af459..f3d3bc0 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -612,7 +612,7 @@ int _thumbnail_get_raw_data(const char *origin_path,
}
} else {
thumb_err("invalid file type");
- return MS_MEDIA_ERR_INVALID_PARAMETER;
+ return MS_MEDIA_ERR_THUMB_UNSUPPORTED;
}
if (size) *size = thumb_info.size;