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

Weird nobody noticed this before, issue exists in 2.69 as well..
This commit is contained in:
Sergey Sharybin
2014-03-20 12:39:02 +06:00
parent eedde311bb
commit 9d4b54b44f

View File

@@ -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 */