mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:20:56 +00:00
windowscodecs: Initialize encoder flags for png encoder.
Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
942141d17d
commit
9750406705
|
@ -997,6 +997,7 @@ HRESULT CDECL png_encoder_create(struct encoder_info *info, struct encoder **res
|
||||||
This->data = NULL;
|
This->data = NULL;
|
||||||
*result = &This->encoder;
|
*result = &This->encoder;
|
||||||
|
|
||||||
|
info->flags = 0;
|
||||||
info->container_format = GUID_ContainerFormatPng;
|
info->container_format = GUID_ContainerFormatPng;
|
||||||
info->clsid = CLSID_WICPngEncoder;
|
info->clsid = CLSID_WICPngEncoder;
|
||||||
info->encoder_options[0] = ENCODER_OPTION_INTERLACE;
|
info->encoder_options[0] = ENCODER_OPTION_INTERLACE;
|
||||||
|
|
Loading…
Reference in a new issue