mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 05:07:36 +00:00
dmband: Skip band / band track chunk on parsing failure.
This commit is contained in:
parent
60e8b78e4d
commit
f5c8d273b6
|
@ -422,6 +422,7 @@ static HRESULT WINAPI band_persist_stream_Load(IPersistStream *iface, IStream *s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stream_skip_chunk(stream, &chunk);
|
||||||
if (FAILED(hr)) return hr;
|
if (FAILED(hr)) return hr;
|
||||||
|
|
||||||
if (TRACE_ON(dmband))
|
if (TRACE_ON(dmband))
|
||||||
|
@ -439,7 +440,6 @@ static HRESULT WINAPI band_persist_stream_Load(IPersistStream *iface, IStream *s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stream_skip_chunk(stream, &chunk);
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -568,6 +568,7 @@ static HRESULT WINAPI band_track_persist_stream_Load(IPersistStream *iface, IStr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stream_skip_chunk(stream, &chunk);
|
||||||
if (FAILED(hr)) return hr;
|
if (FAILED(hr)) return hr;
|
||||||
|
|
||||||
if (TRACE_ON(dmband))
|
if (TRACE_ON(dmband))
|
||||||
|
@ -590,7 +591,6 @@ static HRESULT WINAPI band_track_persist_stream_Load(IPersistStream *iface, IStr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stream_skip_chunk(stream, &chunk);
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue