Commit a38cd066 authored by bcoudurier's avatar bcoudurier

according to specs, only color table id set to 0, have it in stsd, fix 4colors.mov

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12604 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 81b7b5e1
......@@ -769,7 +769,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment