Bug fix: fix return type mismatch 91/277291/1 accepted/tizen/unified/20220711.173820 submit/tizen/20220705.013205 submit/tizen/20220705.034415 submit/tizen/20220710.230649
authorjiyong.min <jiyong.min@samsung.com>
Mon, 4 Jul 2022 23:11:43 +0000 (08:11 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Mon, 4 Jul 2022 23:13:20 +0000 (08:13 +0900)
Change-Id: I2c2fcdd021750dee0efc5d5342f5c82da6289314

anim/test/mm_util_anim_testsuite.c

index 06890f1577f60ae3d2dbc1fe496e3a6779770d73..db364836dd809df08ebd93589103a7158871701f 100644 (file)
@@ -241,7 +241,7 @@ static gboolean __test_encode_to_file(mm_util_img_codec_type type, const char *p
        ret = __anim_encode_setup(type, &anim_enc);
        if (ret != MM_UTIL_ERROR_NONE) {
                fprintf(stderr, "\t[ANIM_testsuite] __anim_enc_setup failed : %d\n", ret);
-               return ret;
+               return FALSE;
        }
 
        g_queue_foreach(g_queue_images, __add_image, anim_enc);
@@ -270,7 +270,7 @@ static gboolean __test_encode_to_buffer(mm_util_img_codec_type type, const char
        ret = __anim_encode_setup(type, &anim_enc);
        if (ret != MM_UTIL_ERROR_NONE) {
                fprintf(stderr, "\t[ANIM_testsuite] __anim_enc_setup failed : %d\n", ret);
-               return ret;
+               return FALSE;
        }
        g_queue_foreach(g_queue_images, __add_image, anim_enc);