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:
Diffstat (limited to 'source/blender/imbuf/intern/anim_movie.c')
-rw-r--r--source/blender/imbuf/intern/anim_movie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c
index 220801137f5..8361c43afc1 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -306,6 +306,10 @@ struct anim *IMB_open_anim(const char *name,
bool IMB_anim_can_produce_frames(const struct anim *anim)
{
+#if !(defined(WITH_AVI) || defined(WITH_FFMPEG))
+ UNUSED_VARS(anim);
+#endif
+
#ifdef WITH_AVI
if (anim->avi != NULL) {
return true;