Michael Stefaniuc : mfplat/tests: Test the correct variable.
Module: wine Branch: master Commit: 2ef900eb8157724f814b40c423e05c335068c29a URL: https://source.winehq.org/git/wine.git/?a=commit;h=2ef900eb8157724f814b40c42... Author: Michael Stefaniuc <mstefani(a)winehq.org> Date: Mon Apr 19 22:36:32 2021 +0200 mfplat/tests: Test the correct variable. Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard