aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/rgb2rgb_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-22 22:23:22 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-18 20:23:45 +0200
commit12aa4220dd1fa75590a64520b82f2db2ea080c3e (patch)
treeea6c9197aa3ea3bbede5936998d284560454d0c5 /libswscale/rgb2rgb_template.c
parente40688ed807f2a5d4346f95c014921815a8be750 (diff)
downloadffmpeg-12aa4220dd1fa75590a64520b82f2db2ea080c3e.tar.gz
swscale/rgb2rgb_template: Disable shuffle_bytes_2103_c on big endian
The function is specific to little endian Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 4df3cf90bf7a54793e90304bd1b6c7599673f36a) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/rgb2rgb_template.c')
-rw-r--r--libswscale/rgb2rgb_template.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/rgb2rgb_template.c b/libswscale/rgb2rgb_template.c
index f9a98a8701..70294aec97 100644
--- a/libswscale/rgb2rgb_template.c
+++ b/libswscale/rgb2rgb_template.c
@@ -929,7 +929,9 @@ static av_cold void rgb2rgb_init_c(void)
rgb24to15 = rgb24to15_c;
rgb24to16 = rgb24to16_c;
rgb24tobgr24 = rgb24tobgr24_c;
+#if !HAVE_BIGENDIAN
shuffle_bytes_2103 = shuffle_bytes_2103_c;
+#endif
rgb32tobgr16 = rgb32tobgr16_c;
rgb32tobgr15 = rgb32tobgr15_c;
yv12toyuy2 = yv12toyuy2_c;