Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-12 23:08:23 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-12 23:08:23 +0400
commitf628134e776734462bec5c303b64a2385af814f0 (patch)
tree212ad62dbac4c725e7b4d224ff0c27e12bc994c0 /libavcodec/eacmv.c
parent1567243e8fff8ecdc06c5a0e8db1eb45371ab400 (diff)
Set Electronic Arts CMV palette opaque.
Diffstat (limited to 'libavcodec/eacmv.c')
-rw-r--r--libavcodec/eacmv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c
index e05a7a9b0a..8a8d6a9cef 100644
--- a/libavcodec/eacmv.c
+++ b/libavcodec/eacmv.c
@@ -141,7 +141,7 @@ static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t
buf += 16;
for (i=pal_start; i<pal_start+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;
}
}