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.
This commit is contained in:
Serge Ziryukin 2009-10-18 18:09:32 +03:00 committed by Max Kellermann
parent d69e0ab53a
commit 33bf6c0978
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include "uri.h"
#ifndef HAVE_TREMOR
#define OV_EXCLUDE_STATIC_CALLBACKS
#include <vorbis/vorbisfile.h>
#else
#include <tremor/ivorbisfile.h>