mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-21 20:59:52 +01:00
Fix Ogg looping caused by debug derp
This commit is contained in:
parent
73aee7323a
commit
100c861b03
@ -600,7 +600,7 @@ VGMSTREAM* init_vgmstream_ogg_vorbis_callbacks(STREAMFILE* sf, ov_callbacks* cal
|
|||||||
else if (loop_end_found)
|
else if (loop_end_found)
|
||||||
vgmstream->loop_end_sample = loop_end;
|
vgmstream->loop_end_sample = loop_end;
|
||||||
else
|
else
|
||||||
vgmstream->loop_end_sample = vgmstream->num_samples - 100000;
|
vgmstream->loop_end_sample = vgmstream->num_samples;
|
||||||
|
|
||||||
if (vgmstream->loop_end_sample > vgmstream->num_samples)
|
if (vgmstream->loop_end_sample > vgmstream->num_samples)
|
||||||
vgmstream->loop_end_sample = vgmstream->num_samples;
|
vgmstream->loop_end_sample = vgmstream->num_samples;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user