diff libvo/vo_x11.c @ 4791:7fcffc537252

unscaled yuv2rgb fix for big-endian systems
author michael
date Thu, 21 Feb 2002 16:57:35 +0000
parents 50288f9f6b15
children 62a281be07ce
line wrap: on
line diff
--- a/libvo/vo_x11.c	Thu Feb 21 16:17:15 2002 +0000
+++ b/libvo/vo_x11.c	Thu Feb 21 16:57:35 2002 +0000
@@ -427,7 +427,7 @@
 //   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;