comparison libvo/vo_x11.c @ 10176:69bb88bc869b

that works correctly
author alex
date Fri, 23 May 2003 20:35:56 +0000
parents 5025150738eb
children 9cee07f898f7
comparison
equal deleted inserted replaced
10175:650ea9eaed42 10176:69bb88bc869b
417 #ifdef WORDS_BIGENDIAN 417 #ifdef WORDS_BIGENDIAN
418 if(mode==MODE_BGR && bpp!=32){ 418 if(mode==MODE_BGR && bpp!=32){
419 mp_msg(MSGT_VO,MSGL_ERR,"BGR%d not supported, please contact the developers\n", bpp); 419 mp_msg(MSGT_VO,MSGL_ERR,"BGR%d not supported, please contact the developers\n", bpp);
420 return -1; 420 return -1;
421 } 421 }
422 if(mode==MODE_RGB && bpp==32){
423 mp_msg(MSGT_VO,MSGL_ERR,"RGB32 not supported on big-endian systems, please contact the developers\n");
424 return -1;
425 }
426 #else 422 #else
427 if(mode==MODE_BGR){ 423 if(mode==MODE_BGR){
428 mp_msg(MSGT_VO,MSGL_ERR,"BGR not supported, please contact the developers\n"); 424 mp_msg(MSGT_VO,MSGL_ERR,"BGR not supported, please contact the developers\n");
429 return -1; 425 return -1;
430 } 426 }