summaryrefslogtreecommitdiff
path: root/cflac.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-16 17:15:10 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-16 17:15:10 +0200
commit72254e73f91e9385184bca91d8bdcc575a26e618 (patch)
treea3004314096cebc5cce4d4e257a5c3c216865ec8 /cflac.c
parentdaaf3edaf115c9adb4485b10b8ed7273ef478bba (diff)
fixed several position reporting issues
Diffstat (limited to 'cflac.c')
-rw-r--r--cflac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cflac.c b/cflac.c
index af560a2c..358d87eb 100644
--- a/cflac.c
+++ b/cflac.c
@@ -148,7 +148,7 @@ cflac_read (char *bytes, int size) {
remaining -= sz;
bytes += sz;
size -= sz;
- cflac.info.position += (float)sz / (cflac.info.channels * cflac.info.samplesPerSecond * cflac.info.bitsPerSample / 8);
+// cflac.info.position += (float)sz / (cflac.info.channels * cflac.info.samplesPerSecond * cflac.info.bitsPerSample / 8);
if (timeend > timestart) {
if (cflac.info.position + timestart > timeend) {
break;