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:
Ilari Liusvaara 2014-01-05 04:38:04 +02:00
parent c7bdac819d
commit d72711e7cb

View file

@ -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;