Browse Source

Set Electronic Arts TGV palette opaque.

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

+ 1
- 1
libavcodec/eatgv.c View File

@@ -278,7 +278,7 @@ static int tgv_decode_frame(AVCodecContext *avctx,
pal_count = AV_RL16(&buf[6]);
buf += 12;
for(i=0; i<pal_count && i<AVPALETTE_COUNT && buf_end - buf >= 3; i++) {
s->palette[i] = AV_RB24(buf);
s->palette[i] = 0xFF << 24 | AV_RB24(buf);
buf += 3;
}
}


Loading…
Cancel
Save