lib/xiph/VorbisComments: disable VorbisCommentToReplayGain() if Vorbis is disabled
Fixes build failure.
This commit is contained in:
parent
43ac264f54
commit
1e03457746
@ -29,6 +29,8 @@
|
||||
#include "util/StringView.hxx"
|
||||
#include "config.h"
|
||||
|
||||
#ifdef ENABLE_VORBIS_DECODER
|
||||
|
||||
#ifndef HAVE_TREMOR
|
||||
#include <vorbis/codec.h>
|
||||
#else
|
||||
@ -63,6 +65,8 @@ VorbisCommentToReplayGain(ReplayGainInfo &rgi,
|
||||
return found;
|
||||
}
|
||||
|
||||
#endif /* ENABLE_VORBIS_DECODER */
|
||||
|
||||
static void
|
||||
vorbis_scan_comment(StringView comment, TagHandler &handler) noexcept
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user