[PATCH v2 2/7] quartz/tests: Add tests for MPEG audio decoder output media type enumeration.

Zebediah Figura (she/her) zfigura at codeweavers.com
Mon May 2 15:12:21 CDT 2022


On 5/2/22 07:28, Anton Baskanov wrote:
> +        ok(!memcmp(pmt, &expect_mt, offsetof(AM_MEDIA_TYPE, cbFormat)),
> +                "%u: Media types didn't match.\n", i);
> +        ok(!memcmp(pmt->pbFormat, &expect_format, sizeof(WAVEFORMATEX)),
> +                "%u: Format blocks didn't match.\n", i);

For future reference, we have a compare_media_type() helper in other 
tests for this.



More information about the wine-devel mailing list