Fix an error with setting of the cursor when seeking a Vorbis file.

Public issue https://github.com/mackron/miniaudio/issues/707
This commit is contained in:
David Reid
2023-07-21 07:39:07 +10:00
parent 7f0a92a08f
commit b2ed26cf76
-2
View File
@@ -63279,8 +63279,6 @@ MA_API ma_result ma_stbvorbis_seek_to_pcm_frame(ma_stbvorbis* pVorbis, ma_uint64
}
result = ma_stbvorbis_read_pcm_frames(pVorbis, buffer, framesToRead, &framesRead);
pVorbis->cursor += framesRead;
if (result != MA_SUCCESS) {
return result;
}