Commit b2ed26cf authored by David Reid's avatar David Reid

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

Public issue https://github.com/mackron/miniaudio/issues/707
parent 7f0a92a0
...@@ -63279,8 +63279,6 @@ MA_API ma_result ma_stbvorbis_seek_to_pcm_frame(ma_stbvorbis* pVorbis, ma_uint64 ...@@ -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); result = ma_stbvorbis_read_pcm_frames(pVorbis, buffer, framesToRead, &framesRead);
pVorbis->cursor += framesRead;
if (result != MA_SUCCESS) { if (result != MA_SUCCESS) {
return result; return result;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment