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