diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-16 23:23:29 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-16 23:23:29 +0300 |
commit | 8f2ad64f3de00116dfb85d6b7675ade03b4fabf2 (patch) | |
tree | a8a1e1fde456a2eb601c328e791388a6fd962ed9 | |
parent | d7f63b40628b0371b3475f965187cd63f4c21db3 (diff) |
Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check.
-rw-r--r-- | source/blender/src/sequence.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |