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

github.com/FFmpeg/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:15:21 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-12 23:15:21 +0400
commit9f9a1f424ed4db992f8a773b2eaad4941de3e9e6 (patch)
tree013104df10f565755191866cca55a6e8cf8519e2 /libavcodec/qdrw.c
parent3bf54ab5656beb8dfe7bd59f65dc7033fe662e5b (diff)
Set QuickDraw palette opaque.
Diffstat (limited to 'libavcodec/qdrw.c')
-rw-r--r--libavcodec/qdrw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c
index bbc0be029d..54deec5c83 100644
--- a/libavcodec/qdrw.c
+++ b/libavcodec/qdrw.c
@@ -90,7 +90,7 @@ static int decode_frame(AVCodecContext *avctx,
buf++;
b = *buf++;
buf++;
- pal[idx] = (r << 16) | (g << 8) | b;
+ pal[idx] = 0xFF << 24 | r << 16 | g << 8 | b;
}
p->palette_has_changed = 1;