mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
Should use vgmstream->num_samples here for loop segments
This commit is contained in:
parent
3249617238
commit
56dfa62a75
@ -1068,7 +1068,7 @@ static size_t calculate_eaac_size(VGMSTREAM *vgmstream, STREAMFILE *streamFile,
|
|||||||
file_size = get_streamfile_size(streamFile);
|
file_size = get_streamfile_size(streamFile);
|
||||||
vgmstream->next_block_offset = start_offset;
|
vgmstream->next_block_offset = start_offset;
|
||||||
|
|
||||||
while (vgmstream->next_block_offset < file_size && total_samples != eaac->num_samples) {
|
while (vgmstream->next_block_offset < file_size && total_samples != vgmstream->num_samples) {
|
||||||
block_update_ea_sns(vgmstream->next_block_offset, vgmstream);
|
block_update_ea_sns(vgmstream->next_block_offset, vgmstream);
|
||||||
if (vgmstream->current_block_samples == 0)
|
if (vgmstream->current_block_samples == 0)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user