Handle frame spanning movie page boundary
Turns out that controller_frame_vector::walk_helper() didn't properly handle the case where the frame (and the first subframe of next frame) spans multiple pages in movie.
This commit is contained in:
parent
c7bdac819d
commit
d72711e7cb
1 changed files with 2 additions and 0 deletions
|
@ -308,6 +308,8 @@ size_t controller_frame_vector::walk_helper(size_t frame, bool sflag) throw()
|
|||
page++;
|
||||
cache_page = &pages[page];
|
||||
cache_page_num = page;
|
||||
offset = 0;
|
||||
index = 0;
|
||||
}
|
||||
if(controller_frame::sync(cache_page->content + offset))
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue