Commit 1f765fb0 authored by Zhenbo Li's avatar Zhenbo Li Committed by Alexandre Julliard

quartz: Remove an unnecessary if.

parent ecd34e58
...@@ -1542,8 +1542,7 @@ static HRESULT WINAPI FilterGraph2_RenderFile(IFilterGraph2 *iface, LPCWSTR lpcw ...@@ -1542,8 +1542,7 @@ static HRESULT WINAPI FilterGraph2_RenderFile(IFilterGraph2 *iface, LPCWSTR lpcw
if (FAILED(hr)) if (FAILED(hr))
return hr; return hr;
if (SUCCEEDED(hr)) hr = IBaseFilter_EnumPins(preader, &penumpins);
hr = IBaseFilter_EnumPins(preader, &penumpins);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
while (IEnumPins_Next(penumpins, 1, &ppinreader, NULL) == S_OK) while (IEnumPins_Next(penumpins, 1, &ppinreader, NULL) == S_OK)
......
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