Browse Source

Set Interplay C93 palette opaque.

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

+ 1
- 1
libavcodec/c93.c View File

@@ -152,7 +152,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
uint32_t *palette = (uint32_t *) newpic->data[1];
const uint8_t *palbuf = buf + buf_size - 768 - 1;
for (i = 0; i < 256; i++) {
palette[i] = bytestream_get_be24(&palbuf);
palette[i] = 0xFF << 24 | bytestream_get_be24(&palbuf);
}
} else {
if (oldpic->data[1])


Loading…
Cancel
Save