[FFmpeg-cvslog] r12604 - trunk/libavformat/mov.c
bcoudurier
subversion
Thu Mar 27 14:16:29 CET 2008
Author: bcoudurier
Date: Thu Mar 27 14:16:29 2008
New Revision: 12604
Log:
according to specs, only color table id set to 0, have it in stsd, fix 4colors.mov
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Thu Mar 27 14:16:29 2008
@@ -769,7 +769,7 @@ static int mov_read_stsd(MOVContext *c,
if (color_index < 0)
color_index = 0;
}
- } else if (st->codec->color_table_id & 0x08) {
+ } else if (st->codec->color_table_id) {
/* if flag bit 3 is set, use the default palette */
color_count = 1 << color_depth;
if (color_depth == 2)
More information about the ffmpeg-cvslog
mailing list