diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-24 09:09:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-24 09:13:25 +0300 |
commit | 0a3792a65b3ed039457f85c8538e822d6c5df222 (patch) | |
tree | 13ed302205b0819582f0f331b3e02a36f1865c6a /source/blender/blenkernel | |
parent | d2244b59d8f50a63345fabda2f5db00df30ae85e (diff) |
Fix T47900: VSE adjustment crashes on blank frame
Regression, should have been included in previous fix.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/seqeffects.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/seqeffects.c b/source/blender/blenkernel/intern/seqeffects.c index 1f0c354922e..9cf4328f13e 100644 --- a/source/blender/blenkernel/intern/seqeffects.c +++ b/source/blender/blenkernel/intern/seqeffects.c @@ -2363,7 +2363,9 @@ static ImBuf *do_adjustment(const SeqRenderData *context, Sequence *seq, float c if (BKE_sequencer_input_have_to_preprocess(context, seq, cfra)) { out = IMB_dupImBuf(i); - IMB_metadata_copy(out, i); + if (out) { + IMB_metadata_copy(out, i); + } IMB_freeImBuf(i); } else { |