Browse Source

Set Delphine Software International CIN palette opaque.

tags/n0.9
Carl Eugen Hoyos 14 years ago
parent
commit
dcbd18c615
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dsicinav.c

+ 1
- 1
libavcodec/dsicinav.c View File

@@ -223,7 +223,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx,
if (palette_colors_count > 256)
return AVERROR_INVALIDDATA;
for (i = 0; i < palette_colors_count; ++i) {
cin->palette[i] = bytestream_get_le24(&buf);
cin->palette[i] = 0xFF << 24 | bytestream_get_le24(&buf);
bitmap_frame_size -= 3;
}
} else {


Loading…
Cancel
Save