Commit 2ef8becc authored by conrad's avatar conrad

oggz-chop: fix detection of accumulated continued pages,

ie. when all accumulated pages have granulepos -1 and thus
should all be kept when advancing the accumulator
parent f38ec558
......@@ -277,7 +277,8 @@ track_state_advance_page_accum (OCTrackState * ts)
*/
succ_continued = 1;
earliest_new = accum_size = oggz_table_size (ts->page_accum);
earliest_new = 0;
accum_size = oggz_table_size (ts->page_accum);
/* Working backwards through the page accumulator ... */
for (i = accum_size-1; i >= 0; i--) {
......
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