diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-11-16 16:06:48 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-11-16 16:06:48 +0000 |
commit | 8e38e328af9247f7bc6e61af9f0bf0ba6de2a190 (patch) | |
tree | dad59174253a3a40d9cc56770ee1513543a89e46 /tools | |
parent | f609424cb86043a29e4861d8b25212d24c08c397 (diff) | |
download | rockbox-8e38e328af9247f7bc6e61af9f0bf0ba6de2a190.tar.gz rockbox-8e38e328af9247f7bc6e61af9f0bf0ba6de2a190.zip |
That should be fread, not read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15642 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rbspeex/rbspeexenc.c | 2 |
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 | |||
72 | /* dwSampleLength */ | 72 | /* dwSampleLength */ |
73 | if (i >= 4) { | 73 | if (i >= 4) { |
74 | /* get rest of chunk */ | 74 | /* get rest of chunk */ |
75 | if ((read_bytes = read(buf, 1, 4, fd)) < 4) | 75 | if ((read_bytes = fread(buf, 1, 4, fd)) < 4) |
76 | return false; | 76 | return false; |
77 | 77 | ||
78 | i -= 4; | 78 | i -= 4; |