Commit 4d8c28de authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos Committed by Anton Khirnov

imgutils: make systematic palette opaque.

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent e0d01dc7
...@@ -170,7 +170,7 @@ int avpriv_set_systematic_pal2(uint32_t pal[256], enum AVPixelFormat pix_fmt) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment