# HG changeset patch # User pl # Date 1011130245 0 # Node ID 159b3d0f517d6bc69e184b3a30911e9de2a151ff # Parent a70ded82ff772401c2cf4512351707b87771b3a5 patch by Fredrik Kuivinen diff -r a70ded82ff77 -r 159b3d0f517d libvo/x11_common.c --- a/libvo/x11_common.c Tue Jan 15 21:05:37 2002 +0000 +++ b/libvo/x11_common.c Tue Jan 15 21:30:45 2002 +0000 @@ -207,10 +207,10 @@ bpp=mXImage->bits_per_pixel; if((vo_depthonscreen+7)/8 != (bpp+7)/8) vo_depthonscreen=bpp; // by A'rpi mask=mXImage->red_mask|mXImage->green_mask|mXImage->blue_mask; - XDestroyImage( mXImage ); if(verbose) printf("vo: X11 color mask: %X (R:%lX G:%lX B:%lX)\n", mask,mXImage->red_mask,mXImage->green_mask,mXImage->blue_mask); + XDestroyImage( mXImage ); } if(((vo_depthonscreen+7)/8)==2){ if(mask==0x7FFF) vo_depthonscreen=15; else