From 1bda0b47c03bd1d7e6c9fbcb0d9739fe53ba7e59 Mon Sep 17 00:00:00 2001 From: "jiyong.min" Date: Tue, 5 Jul 2022 08:11:43 +0900 Subject: [PATCH] Bug fix: fix return type mismatch Change-Id: I2c2fcdd021750dee0efc5d5342f5c82da6289314 --- anim/test/mm_util_anim_testsuite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anim/test/mm_util_anim_testsuite.c b/anim/test/mm_util_anim_testsuite.c index 06890f1..db36483 100644 --- a/anim/test/mm_util_anim_testsuite.c +++ b/anim/test/mm_util_anim_testsuite.c @@ -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); -- 2.7.4