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;