summaryrefslogtreecommitdiff
path: root/libavcodec/dxa.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-12 20:07:31 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-12 20:07:31 +0100
commit1567243e8fff8ecdc06c5a0e8db1eb45371ab400 (patch)
tree24196175fccc383a975e6fc3d96d048dbe36e4fa /libavcodec/dxa.c
parentdcbd18c61540329c51a015bb662aab891ddae61f (diff)
Set ScummVM DXA palette opaque.
Diffstat (limited to 'libavcodec/dxa.c')
-rw-r--r--libavcodec/dxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c
index b3bdae5c55..f32fdd33e5 100644
--- a/libavcodec/dxa.c
+++ b/libavcodec/dxa.c
@@ -209,7 +209,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
r = *buf++;
g = *buf++;
b = *buf++;
- c->pal[i] = (r << 16) | (g << 8) | b;
+ c->pal[i] = 0xFF << 24 | r << 16 | g << 8 | b;
}
pc = 1;
buf_size -= 768+4;