SDL_mixer: voc: don't return from ParseVocFile without setting duration frames, etc.

From 38735bd5ef6f082ab72588514fc1abca5fd53e93 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 10 Mar 2026 17:17:56 -0400
Subject: [PATCH] voc: don't return from ParseVocFile without setting duration
 frames, etc.

Fixes #828.
---
 src/decoder_voc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/decoder_voc.c b/src/decoder_voc.c
index 9fbe5b69..085c2ce7 100644
--- a/src/decoder_voc.c
+++ b/src/decoder_voc.c
@@ -127,9 +127,9 @@ static bool ParseVocFile(SDL_IOStream *io, VOC_AudioData *adata, SDL_PropertiesI
         Uint8 block;
         Uint32 blen = 0;
         if (SDL_ReadIO(io, &block, 1) != 1) {
-            return true;   // assume that's the end of the file.
+            break;   // assume that's the end of the file.
         } else if (block == VOC_TERM) {
-            return true;  // that's the (optional) end.
+            break;  // that's the (optional) end.
         } else if (block != VOC_LOOPEND) {  // TERM and LOOPEND don't have a size field.
             Uint8 bits24[3];
             if (SDL_ReadIO(io, bits24, sizeof(bits24)) != sizeof(bits24)) {