qedit: Check for S_OK when enumerating the source pin.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
317d5c9688
commit
ba5afd8c30
|
@ -145,7 +145,7 @@ static HRESULT find_splitter(MediaDetImpl *detector)
|
||||||
}
|
}
|
||||||
hr = IEnumPins_Next(enum_pins, 1, &source_pin, NULL);
|
hr = IEnumPins_Next(enum_pins, 1, &source_pin, NULL);
|
||||||
IEnumPins_Release(enum_pins);
|
IEnumPins_Release(enum_pins);
|
||||||
if (FAILED(hr))
|
if (hr != S_OK)
|
||||||
{
|
{
|
||||||
ERR("Failed to get source pin, hr %#x.\n", hr);
|
ERR("Failed to get source pin, hr %#x.\n", hr);
|
||||||
return hr;
|
return hr;
|
||||||
|
|
Loading…
Reference in New Issue