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:
authorPeter Schlaile <peter@schlaile.de>2006-02-06 01:47:32 +0300
committerPeter Schlaile <peter@schlaile.de>2006-02-06 01:47:32 +0300
commit0313cacc2bdaac18c36885ed69c8b5b3d7cc7bae (patch)
tree6f7d85ce550468dcf849af3348e27cb9fd19cf56 /source/blender/src/hddaudio.c
parent092e7385d9eeb1a510c0080d7ee418081dff9f6d (diff)
Forgot #ifdef in sound_copy_hdaudio
Diffstat (limited to 'source/blender/src/hddaudio.c')
-rw-r--r--source/blender/src/hddaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/hddaudio.c b/source/blender/src/hddaudio.c
index 02feec4dc2c..a06ff0c6901 100644
--- a/source/blender/src/hddaudio.c
+++ b/source/blender/src/hddaudio.c
@@ -179,7 +179,11 @@ struct hdaudio * sound_open_hdaudio(char * filename)
struct hdaudio * sound_copy_hdaudio(struct hdaudio * c)
{
+#ifdef WITH_FFMPEG
return sound_open_hdaudio(c->filename);
+#else
+ return 0;
+#endif
}
long sound_hdaudio_get_duration(struct hdaudio * hdaudio, int frame_rate)