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:
halleyscometsw 2008-07-06 01:17:08 +00:00
parent 807f7ccc54
commit bd732207d1

View File

@ -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
}