Merge pull request #96080 from DeeJayLSP/qoa-break

WAV: Add missing break on `get_length()`
This commit is contained in:
Rémi Verschelde 2024-08-25 22:24:31 +02:00
commit 4cb6e9994a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -560,6 +560,7 @@ double AudioStreamWAV::get_length() const {
qoa_desc desc = { 0, 0, 0, { { { 0 }, { 0 } } } };
qoa_decode_header((uint8_t *)data + DATA_PAD, data_bytes, &desc);
len = desc.samples * desc.channels;
break;
}
if (stereo) {