Skip to content
Snippets Groups Projects
Commit 9d4b54b4 authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

Fix T39271: Crash in MCE with "p" shortcut without clip

Weird nobody noticed this before, issue exists in 2.69 as well..
parent eedde311
Branches
Tags
No related merge requests found
......@@ -974,6 +974,10 @@ static bool prefetch_check_early_out(const bContext *C)
int first_uncached_frame, end_frame;
int clip_len;
if (clip == NULL) {
return true;
}
clip_len = BKE_movieclip_get_duration(clip);
/* check whether all the frames from prefetch range are cached */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment