chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hands-off reading for OGGs.
[disorder]
/
lib
/
wav.c
diff --git
a/lib/wav.c
b/lib/wav.c
index 8b2d640a044bee70fabcea46085b542727872b8a..6558c693a27c735725a8af3c7591cef57ad33030 100644
(file)
--- a/
lib/wav.c
+++ b/
lib/wav.c
@@
-129,7
+129,7
@@
int wav_init(struct wavfile *f, const char *path) {
memset(f, 0, sizeof *f);
f->data = -1;
-
hreader_init(path, f->input)
;
+
if(hreader_init(path, f->input)) goto error_errno
;
/* Read the file header
*
* offset size meaning