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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user