summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/flac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c
index dfde12cabc..f55863b93a 100644
--- a/apps/codecs/flac.c
+++ b/apps/codecs/flac.c
@@ -150,6 +150,7 @@ enum codec_status codec_start(struct codec_api* api)
150 ci->configure(DSP_SET_FREQUENCY, (long *)(ci->id3->frequency)); 150 ci->configure(DSP_SET_FREQUENCY, (long *)(ci->id3->frequency));
151 151
152 /* The main decoding loop */ 152 /* The main decoding loop */
153 samplesdone=0;
153 bytesleft=ci->read_filebuf(buf,sizeof(buf)); 154 bytesleft=ci->read_filebuf(buf,sizeof(buf));
154 while (bytesleft) { 155 while (bytesleft) {
155 ci->yield(); 156 ci->yield();