summaryrefslogtreecommitdiffstats
path: root/apps/codecs/flac.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-10-27 16:59:23 +0000
committerDave Chapman <dave@dchapman.com>2005-10-27 16:59:23 +0000
commitacf9f8455a153c6aa7df467dc18cad3ae2c01cd0 (patch)
tree0da608516d53732fa42887d25e827bc9a4581ca3 /apps/codecs/flac.c
parentdc9e201671f8d36da9b7b7fe87ff55e96295c71b (diff)
downloadrockbox-acf9f8455a153c6aa7df467dc18cad3ae2c01cd0.tar.gz
rockbox-acf9f8455a153c6aa7df467dc18cad3ae2c01cd0.tar.bz2
rockbox-acf9f8455a153c6aa7df467dc18cad3ae2c01cd0.zip
Prevent compiler warning for LOGF builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7664 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/flac.c')
-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)
ci->configure(DSP_SET_FREQUENCY, (long *)(ci->id3->frequency));
/* The main decoding loop */
+ samplesdone=0;
bytesleft=ci->read_filebuf(buf,sizeof(buf));
while (bytesleft) {
ci->yield();