aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Ziryukin <ftrvxmtrx@gmail.com>2009-10-18 18:09:32 +0300
committerMax Kellermann <max@duempel.org>2009-10-18 18:35:02 +0200
commit33bf6c09787033597588e96a6530d5c04b5eb166 (patch)
tree1ba2448c054b926818b1d2658bbb9ce9168e1611
parentd69e0ab53a4f856f2b20fd58ff7ae141984fecbd (diff)
downloadmpd-33bf6c09787033597588e96a6530d5c04b5eb166.tar.gz
mpd-33bf6c09787033597588e96a6530d5c04b5eb166.tar.xz
mpd-33bf6c09787033597588e96a6530d5c04b5eb166.zip
decoder/vorbis: avoid unused symbol warnings from vorbisfile.h
svn r13289 of libvorbis introduced static callbacks (like OV_CALLBACKS_DEFAULT) defined in "vorbisfile.h" header. First released version with this change is libvorbis-1.2.2. In libversion-1.2.3 OV_EXCLUDE_STATIC_CALLBACKS define was added to avoid warnings about unused static callbacks. Information on the OV_EXCLUDE_STATIC_CALLBACKS can be found in http://svn.xiph.org/trunk/vorbis/CHANGES.
Diffstat (limited to '')
-rwxr-xr-xsrc/decoder/vorbis_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c
index 95f2de07a..2ac9c3bcb 100755
--- a/src/decoder/vorbis_plugin.c
+++ b/src/decoder/vorbis_plugin.c
@@ -24,6 +24,7 @@
#include "uri.h"
#ifndef HAVE_TREMOR
+#define OV_EXCLUDE_STATIC_CALLBACKS
#include <vorbis/vorbisfile.h>
#else
#include <tremor/ivorbisfile.h>