Commit f8b8c3ed authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfplat/tests: Remove unnecessary check (Coverity).

parent 0646e156
...@@ -877,8 +877,6 @@ todo_wine ...@@ -877,8 +877,6 @@ todo_wine
for (i = 0; i < sample_count; ++i) for (i = 0; i < sample_count; ++i)
{ {
hr = IMFMediaStream_RequestSample(video_stream, NULL); hr = IMFMediaStream_RequestSample(video_stream, NULL);
if (i == sample_count)
break;
ok(hr == S_OK, "Failed to request sample %u, hr %#x.\n", i + 1, hr); ok(hr == S_OK, "Failed to request sample %u, hr %#x.\n", i + 1, hr);
if (hr != S_OK) if (hr != S_OK)
break; break;
......
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