summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-07-11 05:26:16 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-07-11 05:26:16 (GMT)
commitc5869473bdf194dd44dc56d269399487106ff759 (patch)
tree871bcf83ff06ebfa7b8aca791d9763c6be6769c6 /src/util
parent86c10c47be22e9caa4c8c2106437136a123ec3ac (diff)
downloadlibmedia-thumbnail-c5869473bdf194dd44dc56d269399487106ff759.zip
libmedia-thumbnail-c5869473bdf194dd44dc56d269399487106ff759.tar.gz
libmedia-thumbnail-c5869473bdf194dd44dc56d269399487106ff759.tar.bz2
Remove original width, height parameters from response msgrefs/changes/94/138094/1
Change-Id: I7b11e8744939e67130826e43708e5474e39ed975 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/media-thumb-db.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/media-thumb-db.c b/src/util/media-thumb-db.c
index 8527da0..d955a46 100755
--- a/src/util/media-thumb-db.c
+++ b/src/util/media-thumb-db.c
@@ -27,7 +27,7 @@
#include <string.h>
#include <unistd.h>
-int _media_thumb_get_thumb_from_db_with_size(const char *origin_path, char *thumb_path, int max_length, int *width, int *height, uid_t uid)
+int _media_thumb_get_thumb_from_db(const char *origin_path, char *thumb_path, int max_length, uid_t uid)
{
int err = MS_MEDIA_ERR_NONE;
char *query_string = NULL;
@@ -59,8 +59,6 @@ int _media_thumb_get_thumb_from_db_with_size(const char *origin_path, char *thum
if (sqlite3_step(stmt) == SQLITE_ROW) {
strncpy(thumb_path, (const char *)sqlite3_column_text(stmt, 0), max_length);
- *width = sqlite3_column_int(stmt, 1);
- *height = sqlite3_column_int(stmt, 2);
} else {
thumb_err("end of row [%s]", sqlite3_errmsg(db_handle));
SQLITE3_FINALIZE(stmt);