diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/yuv2rgb_mmx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_out/yuv2rgb_mmx.c b/src/video_out/yuv2rgb_mmx.c index 7279d1528..93b0ff1bf 100644 --- a/src/video_out/yuv2rgb_mmx.c +++ b/src/video_out/yuv2rgb_mmx.c @@ -1309,12 +1309,12 @@ void yuv2rgb_init_mmx (yuv2rgb_factory_t *this) { if (this->swapped) switch (this->mode) { case MODE_24_RGB: this->yuv2rgb_fun = mmx_bgr24; - break; + return; case MODE_24_BGR: this->yuv2rgb_fun = mmx_rgb24; - break; + return; default: - return; /* other swapped formats not yet */ + return; /* other swapped formats yet unsupported */ } switch (this->mode) { |