author Sam Lantinga <>
Fri, 17 Nov 2017 11:03:02 -0800
changeset 11705 88462f00ffac
parent 10486 5bf595c48fd4
permissions -rw-r--r--
Fixed bug 3964 - YUV to RGB in video/SDL_yuv.c is broken for any output format of type ABGR8888 or BGR888


Here is the bug in latest SDL 2.0.8 development repo. It is obvious and simple to fix by correcting typos on six lines of code.

In src/video/SDL_yuv.c on lines 217, 249, 280, 321, 353, and 384 the wrong conversion functions are called for SDL_PIXELFORMAT_ABGR8888 and SDL_PIXELFORMAT_BGR888. Instead of ABGR functions, BGRA functions are called. These are typos.
     1 Platforms
     2 =========
     4 We maintain the list of supported platforms on our wiki now, and how to
     5 build and install SDL for those platforms: