Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check.

This commit is contained in:
Ton Roosendaal 2006-11-16 20:23:29 +00:00
parent d7f63b4062
commit 8f2ad64f3d

@ -1141,6 +1141,7 @@ ImBuf *give_ibuf_seq(int rectx, int recty, int cfra, int chanshown)
return 0;
}
if(seqfirst->curelem->ibuf)
IMB_cache_limiter_unref(seqfirst->curelem->ibuf);
return seqfirst->curelem->ibuf;