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:
authorCampbell Barton <ideasman42@gmail.com>2020-07-16 04:07:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-16 04:14:27 +0300
commit54abab53bfd83e4ff4954f2d86b1916740a6a57c (patch)
tree20a40b4dd99b7c9a567aa6590937b04caca1e08d /source/blender/imbuf
parenta3d90337b84764330c1ada680465af0225bd9a37 (diff)
Cleanup: undeclared function warning, unused argument
Diffstat (limited to 'source/blender/imbuf')
-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;