mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 15:54:05 +01:00
as a precaution, make sure that the buffer isn't used again after resetting
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@288 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
807f7ccc54
commit
bd732207d1
@ -154,6 +154,7 @@ void reset_vgmstream(VGMSTREAM * vgmstream) {
|
||||
/* input_offset is ignored as we can assume it will be 0 for a seek
|
||||
* to sample 0 */
|
||||
mpg123_feedseek(data->m,0,SEEK_SET,&input_offset);
|
||||
data->buffer_full = data->buffer_used = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user