1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

imgutils: make systematic palette opaque.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Carl Eugen Hoyos 2011-12-23 11:43:29 +01:00 committed by Anton Khirnov
parent e0d01dc7d7
commit 4d8c28deab

View File

@ -170,7 +170,7 @@ int avpriv_set_systematic_pal2(uint32_t pal[256], enum AVPixelFormat pix_fmt)
default: default:
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }
pal[i] = b + (g<<8) + (r<<16); pal[i] = b + (g << 8) + (r << 16) + (0xFFU << 24);
} }
return 0; return 0;