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

dmime: Skip sequence track chunk on parsing failure.

parent f5c8d273
...@@ -404,6 +404,7 @@ static HRESULT WINAPI track_IPersistStream_Load(IPersistStream *iface, IStream * ...@@ -404,6 +404,7 @@ static HRESULT WINAPI track_IPersistStream_Load(IPersistStream *iface, IStream *
} }
} }
stream_skip_chunk(stream, &chunk);
if (FAILED(hr)) return hr; if (FAILED(hr)) return hr;
if (TRACE_ON(dmime)) if (TRACE_ON(dmime))
...@@ -446,7 +447,6 @@ static HRESULT WINAPI track_IPersistStream_Load(IPersistStream *iface, IStream * ...@@ -446,7 +447,6 @@ static HRESULT WINAPI track_IPersistStream_Load(IPersistStream *iface, IStream *
} }
} }
stream_skip_chunk(stream, &chunk);
return S_OK; return 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