Fix T47900: VSE adjustment crashes on blank frame

This commit is contained in:
Campbell Barton 2016-03-24 05:17:38 +11:00 committed by Sergey Sharybin
parent d21ed9af21
commit 5bfa814dcb
1 changed files with 3 additions and 2 deletions

View File

@ -3694,8 +3694,9 @@ static ImBuf *seq_render_strip_stack(const SeqRenderData *context, ListBase *seq
ImBuf *ibuf2 = out;
out = seq_render_strip_stack_apply_effect(context, seq, cfra, ibuf1, ibuf2);
IMB_metadata_copy(out, ibuf2);
if (out) {
IMB_metadata_copy(out, ibuf2);
}
IMB_freeImBuf(ibuf1);
IMB_freeImBuf(ibuf2);