Michael Stefaniuc : mfplat/tests: Test the correct variable.
Alexandre Julliard
julliard at winehq.org
Tue Apr 20 16:27:44 CDT 2021
Module: wine
Branch: master
Commit: 2ef900eb8157724f814b40c423e05c335068c29a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2ef900eb8157724f814b40c423e05c335068c29a
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon Apr 19 22:36:32 2021 +0200
mfplat/tests: Test the correct variable.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mfplat/tests/mfplat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mfplat/tests/mfplat.c b/dlls/mfplat/tests/mfplat.c
index fd9a27d599c..caf6f78d9e9 100644
--- a/dlls/mfplat/tests/mfplat.c
+++ b/dlls/mfplat/tests/mfplat.c
@@ -5608,7 +5608,7 @@ static void test_MFCreate2DMediaBuffer(void)
hr = IMFMediaBuffer_Lock(buffer, &data, &length2, NULL);
ok(hr == S_OK, "Failed to lock buffer, hr %#x.\n", hr);
- ok(length == ptr->contiguous_length, "%d: unexpected linear buffer length %u for %u x %u, format %s.\n",
+ ok(length2 == ptr->contiguous_length, "%d: unexpected linear buffer length %u for %u x %u, format %s.\n",
i, length2, ptr->width, ptr->height, wine_dbgstr_an((char *)&ptr->fourcc, 4));
hr = IMFMediaBuffer_Unlock(buffer);
More information about the wine-cvs
mailing list