From d6646524f5481c9e44287a786f29a98e45306b3c Mon Sep 17 00:00:00 2001 From: Jiyong Min Date: Thu, 15 Mar 2018 18:54:59 +0900 Subject: [PATCH] Remove unused IMG_CODEC_AGIF Change-Id: Ie183418deae59c63fb02047d094adf46d20a5b6a --- packaging/libmedia-thumbnail.spec | 2 +- src/media-thumb-internal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec index c8020b5..0cb1f62 100644 --- a/packaging/libmedia-thumbnail.spec +++ b/packaging/libmedia-thumbnail.spec @@ -1,6 +1,6 @@ Name: libmedia-thumbnail Summary: Media thumbnail service library for multimedia applications -Version: 0.2.20 +Version: 0.2.21 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 and PD diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c index b1bf357..63aeb11 100755 --- a/src/media-thumb-internal.c +++ b/src/media-thumb-internal.c @@ -121,7 +121,7 @@ int _media_thumb_image(const char *origin_path, char *thumb_path, int thumb_widt } } err = _media_thumb_general(origin_path, thumb_path, thumb_width, thumb_height, thumb_info); - } else if (image_type == IMG_CODEC_JPEG || image_type == IMG_CODEC_AGIF || image_type == IMG_CODEC_GIF || image_type == IMG_CODEC_BMP || image_type == IMG_CODEC_WBMP) { + } else if (image_type == IMG_CODEC_JPEG || image_type == IMG_CODEC_GIF || image_type == IMG_CODEC_BMP || image_type == IMG_CODEC_WBMP) { err = _media_thumb_general(origin_path, thumb_path, thumb_width, thumb_height, thumb_info); } else { thumb_warn("Unsupported image type"); -- 2.7.4