diff options
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/seqcache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/seqcache.c b/source/blender/blenkernel/intern/seqcache.c index a4ea5d1fb26..387ec67eb1c 100644 --- a/source/blender/blenkernel/intern/seqcache.c +++ b/source/blender/blenkernel/intern/seqcache.c @@ -180,7 +180,8 @@ static int seqcache_key_check_seq(void *userkey, void *userdata) void BKE_sequencer_cache_cleanup_sequence(Sequence *seq) { - IMB_moviecache_cleanup(moviecache, seqcache_key_check_seq, seq); + if (moviecache) + IMB_moviecache_cleanup(moviecache, seqcache_key_check_seq, seq); } struct ImBuf *BKE_sequencer_cache_get(SeqRenderData context, Sequence *seq, float cfra, seq_stripelem_ibuf_t type) |