[Bf-blender-cvs] [9c604ab0ca4] master: Fix Fuild error with lite build

Richard Antalik noreply at git.blender.org
Tue Mar 2 17:49:17 CET 2021


Commit: 9c604ab0ca4d6f0264b3c253526827c72276ffe8
Author: Richard Antalik
Date:   Tue Mar 2 17:47:21 2021 +0100
Branches: master
https://developer.blender.org/rB9c604ab0ca4d6f0264b3c253526827c72276ffe8

Fix Fuild error with lite build

With audaspace disabled, function SEQ_add_sound_strip was declared as prototype.

===================================================================

M	source/blender/sequencer/intern/strip_add.c

===================================================================

diff --git a/source/blender/sequencer/intern/strip_add.c b/source/blender/sequencer/intern/strip_add.c
index 1aa0e32a363..54e71ff0698 100644
--- a/source/blender/sequencer/intern/strip_add.c
+++ b/source/blender/sequencer/intern/strip_add.c
@@ -406,7 +406,10 @@ Sequence *SEQ_add_sound_strip(Main *bmain, Scene *scene, ListBase *seqbase, SeqL
 Sequence *SEQ_add_sound_strip(Main *UNUSED(bmain),
                               Scene *UNUSED(scene),
                               ListBase *UNUSED(seqbase),
-                              const SeqLoadData *UNUSED(load_data))
+                              SeqLoadData *UNUSED(load_data))
+{
+  return NULL;
+}
 #endif  // WITH_AUDASPACE
 
 /**



More information about the Bf-blender-cvs mailing list