Minor change and release version 0.2.2 53/243353/2 accepted/tizen/unified/20200908.003017 submit/tizen/20200907.045722
authorjiyong.min <jiyong.min@samsung.com>
Mon, 7 Sep 2020 02:57:17 +0000 (11:57 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Mon, 7 Sep 2020 04:36:50 +0000 (13:36 +0900)
Change-Id: I5665cc1dd1200c9d3b3540e88e6c2e47dcfb80fc

packaging/libmm-utility.spec
webp/mm_util_webp.c

index 62ae616..b47a75d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-utility
 Summary:    Multimedia Framework Utility Library
-Version:    0.2.1
+Version:    0.2.2
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 88cbec5..fc27595 100644 (file)
@@ -309,9 +309,9 @@ int mm_util_webp_anim_enc_save_to_buffer(mm_util_webp_anim_enc_h anim_enc_h, voi
        WebPData webp_data;
 
        mm_util_retvm_if(!anim_enc_h, MM_UTIL_ERROR_INVALID_PARAMETER, "invalid anim_enc_h");
+       mm_util_retvm_if(anim_enc->frame_count == 0, MM_UTIL_ERROR_INVALID_PARAMETER, "invalid frame_count");
        mm_util_retvm_if(!buf, MM_UTIL_ERROR_INVALID_PARAMETER, "invalid buf");
        mm_util_retvm_if(!buf_size, MM_UTIL_ERROR_INVALID_PARAMETER, "invalid buf_size");
-       mm_util_retvm_if(anim_enc->frame_count == 0, MM_UTIL_ERROR_INVALID_PARAMETER, "invalid frame_count");
 
        WebPDataInit(&webp_data);