Commit 412768eb authored by conrad's avatar conrad

Mozilla #496063: Infinite loop shutting down video during a seek operation

parent 66c79841
......@@ -479,6 +479,8 @@ oggz_scan_for_page (OGGZ * oggz, ogg_page * og, ogg_int64_t unit_target,
do {
offset_at = oggz_get_prev_start_page(oggz, og, &granule_at, &serialno);
if (offset_at < 0)
unit_at = oggz_get_unit(oggz, serialno, granule_at);
} while (unit_at > unit_target);
return offset_at;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment