aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 16:57:35 +0000
committerGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 16:57:35 +0000
commit50657061a84c1d3081d6306b06e90a5bd8c29701 (patch)
treebe51b09bdf933620bdef22d4b3b43ee178a678bc /libvo
parent2423d041c28b37900e8e56084578fb2b2d45cdfa (diff)
unscaled yuv2rgb fix for big-endian systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4792 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 0d851144b9..49d771edaf 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -427,7 +427,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t
// return -1;
}
- if(mode==MODE_BGR)
+ if((mode==MODE_BGR) == (myximage->byte_order == LSBFirst) )
{
printf("hmm, arpi said that isnt used, contact the developers, thats weird\n" );
return -1;