summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-16 16:06:48 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-16 16:06:48 +0000
commit8e38e328af9247f7bc6e61af9f0bf0ba6de2a190 (patch)
treedad59174253a3a40d9cc56770ee1513543a89e46
parentf609424cb86043a29e4861d8b25212d24c08c397 (diff)
downloadrockbox-8e38e328af9247f7bc6e61af9f0bf0ba6de2a190.tar.gz
rockbox-8e38e328af9247f7bc6e61af9f0bf0ba6de2a190.tar.bz2
rockbox-8e38e328af9247f7bc6e61af9f0bf0ba6de2a190.zip
That should be fread, not read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15642 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--tools/rbspeex/rbspeexenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rbspeex/rbspeexenc.c b/tools/rbspeex/rbspeexenc.c
index 5d301998da..f0e0262b6c 100644
--- a/tools/rbspeex/rbspeexenc.c
+++ b/tools/rbspeex/rbspeexenc.c
@@ -72,7 +72,7 @@ bool get_wave_metadata(FILE *fd, int *numchan, int *bps, int *sr, int *numsample
/* dwSampleLength */
if (i >= 4) {
/* get rest of chunk */
- if ((read_bytes = read(buf, 1, 4, fd)) < 4)
+ if ((read_bytes = fread(buf, 1, 4, fd)) < 4)
return false;
i -= 4;