diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-23 21:17:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-23 21:23:37 +0300 |
commit | 376eb77fd7c97cbec27b824dc751a318e526a9eb (patch) | |
tree | 22aa6ab0276ad2a2a7278f9020f8223c0b87ccf0 /source | |
parent | 2103e2112cca3e3385ac057bbe8976925eadd6d4 (diff) |
Fix T47900: VSE adjustment crashes on blank frame
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 970825e5189..f479a038518 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -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); |