diff options
Diffstat (limited to 'wavreader.c')
-rw-r--r-- | wavreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wavreader.c b/wavreader.c index 76443e0..182b3eb 100644 --- a/wavreader.c +++ b/wavreader.c @@ -89,7 +89,7 @@ void* wav_read_open(const char *filename) { if (feof(wr->wav)) break; length = read_int32(wr); - if (!length) { + if (!length || length >= 0x7fff0000) { wr->streamed = 1; length = ~0; } |