summaryrefslogtreecommitdiff
path: root/src/media-thumbnail.c
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-07-31 01:55:23 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-07-31 01:55:23 (GMT)
commit064fbb7b479f2e92785662afdea8f66d1315bc64 (patch)
treef9384421d0d9f4ad8b1b3ea0d9a740f4230740a1 /src/media-thumbnail.c
parent32da7c25c64349bbc7fc330acb8922764e16e8c9 (diff)
downloadlibmedia-thumbnail-064fbb7b479f2e92785662afdea8f66d1315bc64.zip
libmedia-thumbnail-064fbb7b479f2e92785662afdea8f66d1315bc64.tar.gz
libmedia-thumbnail-064fbb7b479f2e92785662afdea8f66d1315bc64.tar.bz2
Change-Id: I1930be6dbccc4c7957bdb5bcd6389e77acbb51e2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/media-thumbnail.c')
-rwxr-xr-xsrc/media-thumbnail.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c
index b7fa359..b690f4c 100755
--- a/src/media-thumbnail.c
+++ b/src/media-thumbnail.c
@@ -186,15 +186,7 @@ int thumbnail_request_cancel_raw_data(int request_id)
return MS_MEDIA_ERR_NONE;
}
-int thumbnail_request_cancel_all(bool is_raw_data)
+int thumbnail_request_cancel_all()
{
- int err = MS_MEDIA_ERR_NONE;
-
- if (is_raw_data) {
- err = _media_thumb_request_cancel_all(true);
- } else {
- err = _media_thumb_request_cancel_all(false);
- }
-
- return err;
+ return _media_thumb_request_cancel_all();
}