Mercurial > libavformat.hg
diff mov.c @ 3179:5f56b694f9bf libavformat
according to specs, only color table id set to 0, have it in stsd, fix 4colors.mov
author | bcoudurier |
---|---|
date | Thu, 27 Mar 2008 13:16:29 +0000 |
parents | 73b7ef886091 |
children | a8fe6b542c6b |
line wrap: on
line diff
--- a/mov.c Thu Mar 27 12:35:22 2008 +0000 +++ b/mov.c Thu Mar 27 13:16:29 2008 +0000 @@ -769,7 +769,7 @@ 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)