evas_convert_colorspace: Be nice and actually return the converted data

Fixes a memory leaks in evas_common_convert_yuv_42* and actually makes
these functions more useful. It's a win-win.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
This commit is contained in:
Daniel Willmann 2013-06-26 18:38:24 +01:00
parent 1a2ae24e8b
commit 2df506feed
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2013-06-26 Daniel Willmann
* Evas: Fix evas_common_convert_yuv_42* functions to actually return
the converted data.
2013-06-25 Tom Hacohen
* Evas textblock: Fixed issue with textblocks without fonts

1
NEWS
View File

@ -340,3 +340,4 @@ Fixes:
* Evas: Fix bs if app call image object update add after call api like fileset.
* Evas: Fix evas_gl direct rendering to support partial redraw.
* Evas textblock: Fixed issue with textblocks without fonts segfaulting.
* Evas: Fix evas_common_convert_yuv_42* functions to actually return the converted data.

View File

@ -132,7 +132,7 @@ evas_common_convert_yuv_422P_601_to(void *data, int w, int h, Evas_Colorspace cs
if (!dst) return NULL;
evas_common_convert_yuv_420p_601_rgba(data, dst, w, h);
break;
return dst;
}
default:
break;
@ -153,7 +153,7 @@ evas_common_convert_yuv_420_601_to(void *data, int w, int h, Evas_Colorspace csp
if (!dst) return NULL;
evas_common_convert_yuv_420_601_rgba(data, dst, w, h);
break;
return dst;
}
default:
break;
@ -174,7 +174,7 @@ evas_common_convert_yuv_420T_601_to(void *data, int w, int h, Evas_Colorspace cs
if (!dst) return NULL;
evas_common_convert_yuv_420_601_rgba(data, dst, w, h);
break;
return dst;
}
default:
break;