diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:15:21 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:15:21 +0100 |
commit | 9f9a1f424ed4db992f8a773b2eaad4941de3e9e6 (patch) | |
tree | 013104df10f565755191866cca55a6e8cf8519e2 /libavcodec | |
parent | 3bf54ab5656beb8dfe7bd59f65dc7033fe662e5b (diff) | |
download | ffmpeg-9f9a1f424ed4db992f8a773b2eaad4941de3e9e6.tar.gz |
Set QuickDraw palette opaque.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qdrw.c | 2 |
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; |