decoder/opus: call ogg_stream_reset() in OggSeekPageAtOffset()
This commit is contained in:
parent
645cb5833d
commit
b74bcf2274
@ -44,6 +44,10 @@ OggSeekPageAtOffset(OggSyncState &oy, ogg_stream_state &os, InputStream &is,
|
||||
{
|
||||
oy.Reset();
|
||||
|
||||
/* reset the stream to clear any previous partial packet
|
||||
data */
|
||||
ogg_stream_reset(&os);
|
||||
|
||||
return is.LockSeek(offset, whence, IgnoreError()) &&
|
||||
oy.ExpectPageSeekIn(os);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user