summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-27 13:16:29 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-27 13:16:29 +0000
commit71f3623510e6312472a05998f0179b6f1d413970 (patch)
tree2b19c24762ab1fd9a5b637050200c094eff10541 /libavformat/mov.c
parentd3bc61ac758667568c36654e9b8de946f8e665ff (diff)
according to specs, only color table id set to 0, have it in stsd, fix 4colors.mov
Originally committed as revision 12604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index dfd382a098..8c87dff40f 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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)