1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

msvfw32/tests: Test that Cinepak rejects unsupported output types.

This commit is contained in:
Alfred Agrell 2024-05-28 21:42:22 +02:00 committed by Alexandre Julliard
parent 640698e432
commit 1543fc8d1b

View File

@ -190,6 +190,13 @@ static void test_Locate(void)
if (h) ok(ICClose(h) == ICERR_OK,"ICClose failed\n");
bo.biHeight = - bo.biHeight;
bo.biCompression = mmioFOURCC('U','Y','V','Y');
bo.biBitCount = bi.biBitCount = 16;
h = ICLocate(ICTYPE_VIDEO, 0, &bi, &bo, ICMODE_DECOMPRESS);
ok(h == 0, "cvid->UYVY succeeded\n");
if (h) ok(ICClose(h) == ICERR_OK,"ICClose failed\n");
bo.biCompression = BI_RGB;
bo.biBitCount = bi.biBitCount = 32;
h = ICLocate(ICTYPE_VIDEO, 0, &bi, &bo, ICMODE_DECOMPRESS);
ok(h != 0, "cvid->RGB32 failed\n");