Fix type misuse 82/306382/1
authorminje.ahn <minje.ahn@samsung.com>
Wed, 21 Feb 2024 03:38:27 +0000 (12:38 +0900)
committerminje.ahn <minje.ahn@samsung.com>
Wed, 21 Feb 2024 03:38:27 +0000 (12:38 +0900)
Change-Id: Ia5a5b2849b2bf37e653d9734a8c7205a0e144f68
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
anim/test/mm_util_anim_testsuite.c

index 7c6a0c5..a23a4aa 100644 (file)
@@ -188,7 +188,7 @@ static void __add_image(gpointer data, gpointer user_data)
                fprintf(stderr, "\t[ANIM_testsuite] mm_util_webp_anim_enc_add_image failed : %d\n", ret);
 }
 
-static int __anim_encode_setup(mm_util_img_codec_type type, mm_util_anim_enc_h *anim_encode)
+static int __anim_encode_setup(mm_util_anim_codec_type type, mm_util_anim_enc_h *anim_encode)
 {
        int ret = MM_UTIL_ERROR_NONE;
        mm_util_anim_enc_h anim_enc = NULL;
@@ -231,7 +231,7 @@ ERROR:
        return ret;
 }
 
-static bool __test_encode_to_file(mm_util_img_codec_type type, const char *path)
+static bool __test_encode_to_file(mm_util_anim_codec_type type, const char *path)
 {
        int ret = MM_UTIL_ERROR_NONE;
        mm_util_anim_enc_h anim_enc = NULL;
@@ -257,7 +257,7 @@ static bool __test_encode_to_file(mm_util_img_codec_type type, const char *path)
        return (ret == MM_UTIL_ERROR_NONE);
 }
 
-static bool __test_encode_to_buffer(mm_util_img_codec_type type, const char *path)
+static bool __test_encode_to_buffer(mm_util_anim_codec_type type, const char *path)
 {
        int ret = MM_UTIL_ERROR_NONE;
        mm_util_anim_enc_h anim_enc = NULL;