From 8f2ad64f3de00116dfb85d6b7675ade03b4fabf2 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 16 Nov 2006 20:23:29 +0000 Subject: [PATCH] Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check. --- source/blender/src/sequence.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c index 090d821a342..6dabe9f2fec 100644 --- a/source/blender/src/sequence.c +++ b/source/blender/src/sequence.c @@ -1141,7 +1141,8 @@ ImBuf *give_ibuf_seq(int rectx, int recty, int cfra, int chanshown) return 0; } - IMB_cache_limiter_unref(seqfirst->curelem->ibuf); + if(seqfirst->curelem->ibuf) + IMB_cache_limiter_unref(seqfirst->curelem->ibuf); return seqfirst->curelem->ibuf;