summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/alac.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/alac.c')
-rw-r--r--lib/rbcodec/codecs/alac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/alac.c b/lib/rbcodec/codecs/alac.c
index 0bf354080c..34f447df47 100644
--- a/lib/rbcodec/codecs/alac.c
+++ b/lib/rbcodec/codecs/alac.c
@@ -127,6 +127,8 @@ enum codec_status codec_run(void)
127 set_elapsed_samples(samplesdone); 127 set_elapsed_samples(samplesdone);
128 128
129 ci->seek_complete(); 129 ci->seek_complete();
130 if (i >= demux_res.num_sample_byte_sizes)
131 break;
130 } 132 }
131 133
132 /* Request the required number of bytes from the input buffer */ 134 /* Request the required number of bytes from the input buffer */