diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-23 21:17:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:36:07 +0300 |
commit | 5bfa814dcba5b8f88086d8c1b6dbac7a459501fa (patch) | |
tree | d0a0b3131daaa52c8ab0640428f8fb1208baae1a /source | |
parent | d21ed9af211c0e0f691761174b11653cb8c5e0ec (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); |