Commit 19802c55 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

amstream/tests: Use correct buffer size for StringFromGUID2.

parent c6b6935b
...@@ -468,7 +468,7 @@ static void test_media_streams(void) ...@@ -468,7 +468,7 @@ static void test_media_streams(void)
/* Pin name is "I{guid MSPID_PrimaryVideo or MSPID_PrimaryAudio}" */ /* Pin name is "I{guid MSPID_PrimaryVideo or MSPID_PrimaryAudio}" */
id[0] = 'I'; id[0] = 'I';
StringFromGUID2(i ? &MSPID_PrimaryAudio : &MSPID_PrimaryVideo, id + 1, 40); StringFromGUID2(i ? &MSPID_PrimaryAudio : &MSPID_PrimaryVideo, id + 1, 39);
hr = IPin_ConnectedTo(pins[i], &pin); hr = IPin_ConnectedTo(pins[i], &pin);
ok(hr == VFW_E_NOT_CONNECTED, "IPin_ConnectedTo returned: %x\n", hr); ok(hr == VFW_E_NOT_CONNECTED, "IPin_ConnectedTo returned: %x\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment