]> git.sesse.net Git - vlc/commitdiff
Correction de l'YUV en 15 bpp.
authorChristophe Massiot <massiot@videolan.org>
Thu, 20 Jan 2000 11:16:13 +0000 (11:16 +0000)
committerChristophe Massiot <massiot@videolan.org>
Thu, 20 Jan 2000 11:16:13 +0000 (11:16 +0000)
src/video_output/video_yuv.c

index fd579665182581d53f571198894bdc36d7de0e4e..9664ba7f5d59611428e34a2b081678b004c57255 100644 (file)
@@ -411,7 +411,7 @@ static void SetTables( vout_thread_t *p_vout )
     switch( p_vout->i_screen_depth )
     {
     case 15:
-        MaskToShift( &i_red_right,   &i_red_left,   0xf800 );
+        MaskToShift( &i_red_right,   &i_red_left,   0x7c00 );
         MaskToShift( &i_green_right, &i_green_left, 0x03e0 );
         MaskToShift( &i_blue_right,  &i_blue_left,  0x001f );        
         break;