Anton Baskanov : quartz/tests: Use correct media types in MPEG audio decoder tests.
Alexandre Julliard
julliard at winehq.org
Tue May 24 15:55:02 CDT 2022
Module: wine
Branch: master
Commit: 50c20cf8cf7b9fb5caee39f55e339c0ff4a2c0d1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=50c20cf8cf7b9fb5caee39f55e339c0ff4a2c0d1
Author: Anton Baskanov <baskanov at gmail.com>
Date: Thu May 12 10:48:24 2022 +0700
quartz/tests: Use correct media types in MPEG audio decoder tests.
Signed-off-by: Anton Baskanov <baskanov at gmail.com>
---
dlls/quartz/tests/mpegaudio.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/quartz/tests/mpegaudio.c b/dlls/quartz/tests/mpegaudio.c
index 75b85ee8716..48d879cf0f3 100644
--- a/dlls/quartz/tests/mpegaudio.c
+++ b/dlls/quartz/tests/mpegaudio.c
@@ -120,9 +120,9 @@ static const MPEGLAYER3WAVEFORMAT mp3_format1 =
static const AM_MEDIA_TYPE mp3_mt1 =
{
- /* MEDIATYPE_Audio, MEDIASUBTYPE_MPEG1AudioPayload, FORMAT_WaveFormatEx */
+ /* MEDIATYPE_Audio, MEDIASUBTYPE_MP3, FORMAT_WaveFormatEx */
.majortype = {0x73647561, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}},
- .subtype = {0x00000050, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}},
+ .subtype = {0x00000055, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}},
.bFixedSizeSamples = TRUE,
.lSampleSize = 1,
.formattype = {0x05589f81, 0xc356, 0x11ce, {0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a}},
@@ -741,12 +741,12 @@ static void test_media_types(void)
mt = mp2_mt;
mt.subtype = MEDIASUBTYPE_MPEG1Packet;
- hr = IPin_QueryAccept(pin, &mp2_mt);
+ hr = IPin_QueryAccept(pin, &mt);
ok(hr == S_OK, "Got hr %#lx.\n", hr);
mt = mp2_mt;
mt.subtype = MEDIASUBTYPE_MPEG1Payload;
- hr = IPin_QueryAccept(pin, &mp2_mt);
+ hr = IPin_QueryAccept(pin, &mt);
ok(hr == S_OK, "Got hr %#lx.\n", hr);
mt = mp2_mt;
More information about the wine-cvs
mailing list