changeset 4533:9e7e037d8969

reconciled one minor, nagging palette issue with the official QT spec
author melanson
date Tue, 05 Feb 2002 04:08:05 +0000
parents f86c1915ca79
children a38001c3f7e5
files libmpdemux/demux_mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Tue Feb 05 03:54:08 2002 +0000
+++ b/libmpdemux/demux_mov.c	Tue Feb 05 04:08:05 2002 +0000
@@ -604,7 +604,7 @@
 		  palette_map = (unsigned char *)sh->bih + 40;
 
 		  // load default palette
-		  if (flag & 0x08)
+		  if (flag == 0xFFFF)
 		  {
 		    if (palette_count == 4)
 		      memcpy(palette_map, qt_default_palette_4, 4 * 4);