diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index bbc0be029d193c8b30994fb8af7e01b49bf0f577..54deec5c83545c0d56e93e72f97dca78b5ced4a7 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;