windowscodecs: Fix MIME types of DDS decoder.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ziqing Hui 2020-06-16 13:54:47 +08:00 committed by Alexandre Julliard
parent f69619791d
commit a2fa0e76b1
2 changed files with 1 additions and 3 deletions

View File

@ -1298,7 +1298,7 @@ static struct regsvr_decoder const decoder_list[] = {
"1.0.0.0",
&GUID_VendorMicrosoft,
&GUID_ContainerFormatDds,
"image/vnd-ms.dds",
"image/vnd.ms-dds",
".dds",
dds_formats,
dds_patterns

View File

@ -193,7 +193,6 @@ static void test_decoder_info(void)
hr = IWICBitmapDecoderInfo_GetMimeTypes(decoder_info, len, value, &len);
ok(hr == S_OK, "GetMimeType failed, hr=%x\n", hr);
todo_wine_if(test->todo) {
todo_wine_if(i == 6)
ok(lstrcmpW(value, mimetypeW) == 0, "GetMimeType returned wrong value %s\n", wine_dbgstr_w(value));
ok(len == lstrlenW(mimetypeW) + 1, "GetMimeType returned wrong len %i\n", len);
}
@ -205,7 +204,6 @@ static void test_decoder_info(void)
hr = IWICBitmapDecoderInfo_GetMimeTypes(decoder_info, 256, value, &len);
ok(hr == S_OK, "GetMimeType failed, hr=%x\n", hr);
todo_wine_if(test->todo) {
todo_wine_if(i == 6)
ok(lstrcmpW(value, mimetypeW) == 0, "GetMimeType returned wrong value %s\n", wine_dbgstr_w(value));
ok(len == lstrlenW(mimetypeW) + 1, "GetMimeType returned wrong len %i\n", len);
}