diff options
Diffstat (limited to 'src/video_out/yuv2rgb_mlib.c')
-rw-r--r-- | src/video_out/yuv2rgb_mlib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_out/yuv2rgb_mlib.c b/src/video_out/yuv2rgb_mlib.c index 0e992e1c0..c627e8a73 100644 --- a/src/video_out/yuv2rgb_mlib.c +++ b/src/video_out/yuv2rgb_mlib.c @@ -293,11 +293,11 @@ static void mlib_yuv420_abgr32 (yuv2rgb_t *this, } -void yuv2rgb_init_mlib (yuv2rgb_t *this, int mode, int swapped) -{ - if (swapped) return; /*no swapped pixel output upto now*/ +void yuv2rgb_init_mlib (yuv2rgb_factory_t *this) { + + if (this->swapped) return; /*no swapped pixel output upto now*/ - switch (mode) { + switch (this->mode) { case MODE_24_RGB: this->yuv2rgb_fun = mlib_yuv420_rgb24; break; |