[SCM] libav/experimental: according to specs, only color table id set to 0, have it in stsd, fix 4colors.mov
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:17:50 UTC 2013
The following commit has been merged in the experimental branch:
commit 71f3623510e6312472a05998f0179b6f1d413970
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Thu Mar 27 13:16:29 2008 +0000
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
diff --git a/libavformat/mov.c b/libavformat/mov.c
index dfd382a..8c87dff 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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list