Check the correct colorspace.

SVN revision: 34796
This commit is contained in:
Cedric BAIL 2008-06-10 14:21:06 +00:00
parent 0de14ee3ef
commit 4c9f900c60
1 changed files with 2 additions and 2 deletions

View File

@ -628,8 +628,8 @@ evas_cache_image_data(Evas_Cache_Image *cache, int w, int h, DATA32 *image_data,
assert(cache);
if ((im->space == EVAS_COLORSPACE_YCBCR422P601_PL) ||
(im->space == EVAS_COLORSPACE_YCBCR422P709_PL))
if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) ||
(cspace == EVAS_COLORSPACE_YCBCR422P709_PL))
w &= ~0x1;
im = _evas_cache_image_entry_new(cache, NULL, 0, NULL, NULL, NULL, NULL);