summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-01-12 15:37:58 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-01-12 16:38:29 -0800
commite7843db3df0224cafcc1af9da103a3a7286ae2ba (patch)
tree8e405a1918f213f4bd126862b2a87dc4d328af6e /libswscale/rgb2rgb.c
parent55b9ef18e4a139fc24a3b695cb3c176f3ced09b8 (diff)
swscale: fix invalid conversions and memory problems.
Fixes problems where rgbToRgbWrapper() is called even though it doesn't support this particular conversion (e.g. converting from RGB444 to anything). Thirdly, fixes issues where rgbToRgbWrapper() is called for non-native endiannness conversions (e.g. RGB555BE on a LE system). Fourthly, fixes crashes when converting from e.g. monowhite to monowhite, which calls planarCopyWrapper() and overwrites/reads because n_bytes != n_pixels.
Diffstat (limited to 'libswscale/rgb2rgb.c')
0 files changed, 0 insertions, 0 deletions