mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
fix initial offset
This commit is contained in:
parent
57d34508c5
commit
56e9456e0e
@ -537,7 +537,9 @@ afile_aiff_readhdr(struct afile *f)
|
|||||||
return 0;
|
return 0;
|
||||||
comm_done = 1;
|
comm_done = 1;
|
||||||
} else if (memcmp(chunk.id, aiff_id_data, 4) == 0) {
|
} else if (memcmp(chunk.id, aiff_id_data, 4) == 0) {
|
||||||
f->startpos = pos + sizeof(form) + sizeof(chunk);
|
f->startpos = pos + sizeof(form) + sizeof(chunk) +
|
||||||
|
sizeof(struct aiff_data);
|
||||||
|
/* XXX: parse offset */
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user