Commit dd74c2cb authored by conrad's avatar conrad

record delivered_non_b_o_s during reading; fixes oggz_get_bos() when reading


git-svn-id: http://svn.annodex.net/liboggz/trunk@2886 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent b37d90b9
......@@ -355,6 +355,12 @@ oggz_read_sync (OGGZ * oggz)
cb_ret =
reader->read_packet (oggz, op, serialno, reader->read_user_data);
}
/* Mark this stream as having delivered a non b_o_s packet if so.
* In the case where there is no packet reading callback, this is
* also valid as the page reading callback has already been called.
*/
if (!op->b_o_s) stream->delivered_non_b_o_s = 1;
}
else
break;
......
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