diff options
author | Andriy Gelman <andriy.gelman@gmail.com> | 2020-11-30 00:46:51 -0500 |
---|---|---|
committer | Andriy Gelman <andriy.gelman@gmail.com> | 2020-12-12 23:07:22 -0500 |
commit | 1200264fc4122dbb58bd08861f926cd6448593eb (patch) | |
tree | 183a948e25ad955dd0be9732f5f122fb74e82860 /tests | |
parent | 0320dab265ef880b5b07cac1f9ebaa3fb5417f6a (diff) | |
download | ffmpeg-1200264fc4122dbb58bd08861f926cd6448593eb.tar.gz |
swscale/rgb2rgb_template: use shuffle macro on big-endian arches
Fixes fate-qtrle-32bit on big-endian.
The macro does a simple byte swap on uint8 array without any casts, so
it's valid on big-endian arches.
The mentioned test was failing because the byteswap function
shuffle_bytes_3210_c() is used in the pixel format conversion
(argb->bgra).
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions