Remove unused IMG_CODEC_AGIF and replace default image type to IMG_CODEC_UNKNOWN_TYPE 14/172714/1 accepted/tizen/unified/20180319.062919 accepted/tizen/unified/20180321.060747 submit/tizen/20180316.051336 submit/tizen/20180320.040253
authorJiyong Min <jiyong.min@samsung.com>
Thu, 15 Mar 2018 10:11:10 +0000 (19:11 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Thu, 15 Mar 2018 10:12:10 +0000 (19:12 +0900)
Change-Id: I7e64e63262cea91495e6c2ad04706374c4760e2d

packaging/capi-media-thumbnail-util.spec
src/thumbnail_util.c

index 279d5f2..c1ac1b8 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-thumbnail-util
 Summary:    A media thumbnail util library in Tizen Native API
-Version: 0.1.13
+Version: 0.1.14
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
index bf8efce..5252432 100755 (executable)
@@ -543,7 +543,7 @@ int _thumbnail_util_check_media_type(const char *path, thumbnail_util_media_type
 bool _thumbnail_util_is_support_img(const char *path)
 {
        int ret = 0;
-       mm_util_img_codec_type t = IMG_CODEC_NONE;
+       mm_util_img_codec_type t = IMG_CODEC_UNKNOWN_TYPE;
        unsigned int w = 0;
        unsigned int h = 0;
 
@@ -551,8 +551,7 @@ bool _thumbnail_util_is_support_img(const char *path)
        if (ret != 0)
                return false;
 
-       if (t == IMG_CODEC_AGIF ||
-               t == IMG_CODEC_JPEG ||
+       if (t == IMG_CODEC_JPEG ||
                t == IMG_CODEC_PNG ||
                t == IMG_CODEC_GIF ||
                t == IMG_CODEC_BMP ||