Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-03-26 18:10:15 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-03-26 18:10:15 +0400
commit3a3311073250453a74923b8bb80f22de69771c11 (patch)
tree4349063b400ff85a5dbe9eb76f10af1597dce09c /source/blender/imbuf/intern/anim_movie.c
parentcc1ebaf49640dfcb596869b3dc082785aeae9d58 (diff)
Fix for segfault when building proxies in Sequencer.
Diffstat (limited to 'source/blender/imbuf/intern/anim_movie.c')
-rw-r--r--source/blender/imbuf/intern/anim_movie.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c
index 5ef783fe968..8a700053d30 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -245,6 +245,9 @@ void IMB_close_anim(struct anim * anim)
void IMB_close_anim_proxies(struct anim *anim)
{
+ if (anim == NULL)
+ return;
+
IMB_free_indices(anim);
}