[FFmpeg-cvslog] Set QuickDraw palette opaque.
Carl Eugen Hoyos
git at videolan.org
Sat Nov 12 20:57:02 CET 2011
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Nov 12 20:15:21 2011 +0100| [9f9a1f424ed4db992f8a773b2eaad4941de3e9e6] | committer: Carl Eugen Hoyos
Set QuickDraw palette opaque.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f9a1f424ed4db992f8a773b2eaad4941de3e9e6
---
libavcodec/qdrw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c
index bbc0be0..54deec5 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;
More information about the ffmpeg-cvslog
mailing list