Commit 475f8a9c authored by rbultje's avatar rbultje

Remove alpha channel from default colorspace tables, since it is unused. See

"qtpalette.h" thread on mailinglist.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18144 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 90467bc8
...@@ -881,9 +881,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOVAtom atom) ...@@ -881,9 +881,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
color_table = ff_qt_default_palette_256; color_table = ff_qt_default_palette_256;
for (j = 0; j < color_count; j++) { for (j = 0; j < color_count; j++) {
r = color_table[j * 4 + 0]; r = color_table[j * 3 + 0];
g = color_table[j * 4 + 1]; g = color_table[j * 3 + 1];
b = color_table[j * 4 + 2]; b = color_table[j * 3 + 2];
st->codec->palctrl->palette[j] = st->codec->palctrl->palette[j] =
(r << 16) | (g << 8) | (b); (r << 16) | (g << 8) | (b);
} }
......
This diff is collapsed.
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