Change-Id: Icd3be2b582d7b9b5aba1ddfacffb904114aacaa3
if (ret != IMAGE_UTIL_ERROR_NONE)
return FALSE;
- if ((g_test_input.cmd == TEST_DECODE_MEM) || (g_test_input.cmd == TEST_DECODE_MEM_ASYNC)) {
+ if ((g_test_input.cmd == TEST_DECODE_MEM) || (g_test_input.cmd == TEST_DECODE_MEM_ASYNC))
ret = image_util_decode_set_input_buffer(decoded, (unsigned char *)g_test_input.buffer, g_test_input.buffer_size);
- } else {
+ else
ret = image_util_decode_set_input_path(decoded, g_test_decode[i].filepath);
- }
if (ret != IMAGE_UTIL_ERROR_NONE) {
image_util_decode_destroy(decoded);