summaryrefslogtreecommitdiff
path: root/src/video_out/yuv2rgb_mlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/yuv2rgb_mlib.c')
-rw-r--r--src/video_out/yuv2rgb_mlib.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/video_out/yuv2rgb_mlib.c b/src/video_out/yuv2rgb_mlib.c
index e1a7cba7d..d1c0d1ff5 100644
--- a/src/video_out/yuv2rgb_mlib.c
+++ b/src/video_out/yuv2rgb_mlib.c
@@ -83,7 +83,8 @@ static void mlib_yuv420_rgb24 (yuv2rgb_t *this,
dy = 0;
dst_height = this->next_slice (this, &image);
- XINE_ASSERT((this->dest_width&1) == 0, "mlib needs an even YUV2 width.");
+ /* mlib needs an even YUV2 width. */
+ _x_assert((this->dest_width&1) == 0);
for (;;) {
scale_line (pu, this->u_buffer,
@@ -161,7 +162,8 @@ static void mlib_yuv420_argb32 (yuv2rgb_t *this,
dy = 0;
dst_height = this->next_slice (this, &image);
- XINE_ASSERT((this->dest_width&1) == 0, "mlib needs an even YUV2 width");
+ /* mlib needs an even YUV2 width */
+ _x_assert((this->dest_width&1) == 0);
for (;;) {
scale_line (pu, this->u_buffer,
@@ -239,7 +241,8 @@ static void mlib_yuv420_abgr32 (yuv2rgb_t *this,
dy = 0;
dst_height = this->next_slice (this, &image);
- XINE_ASSERT ((this->dest_width&1) == 0, "mlib needs an even YUV2 width.");
+ /* mlib needs an even YUV2 width */
+ _x_assert((this->dest_width&1) == 0);
for (;;) {
scale_line (pu, this->u_buffer,