diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bank.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -64,6 +64,8 @@ ssize_t xas_bank_record(xas_bank *bank, if ((readlen = xas_audio_stream_read(input, &buf, amount)) < 0) { goto error_audio_stream_read; + } else if (readlen == 0) { + break; } xas_audio_copy(bank->format, |