Commit 98713794 authored by conrad's avatar conrad

removed feof check from io path in seeking (get_next_page)


git-svn-id: http://svn.annodex.net/liboggz/trunk@397 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent c33909cb
......@@ -564,6 +564,13 @@ oggz_get_next_page (OGGZ * oggz, ogg_page * og)
return -2;
}
if (bytes == 0) {
return -2;
} else if (oggz->file && feof (oggz->file)) {
clearerr (oggz->file);
return -2;
}
ogg_sync_wrote(&reader->ogg_sync, bytes);
} else if (more < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment