Commit bff73016 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmime: Skip segment chunk on parsing failure (or success).

parent 7b66268f
...@@ -833,6 +833,7 @@ static HRESULT WINAPI segment_persist_stream_Load(IPersistStream *iface, IStream ...@@ -833,6 +833,7 @@ static HRESULT WINAPI segment_persist_stream_Load(IPersistStream *iface, IStream
} }
} }
stream_skip_chunk(stream, &chunk);
if (FAILED(hr)) if (FAILED(hr))
{ {
WARN("Failed to load segment from stream %p, hr %#lx\n", stream, hr); WARN("Failed to load segment from stream %p, hr %#lx\n", stream, 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