encoderFactory.cpp: Fix HAS_VORBIS_ENC

Change HAS_VORBIS_ENC to HAS_VORBISENC
This commit is contained in:
cb1 2018-12-19 15:09:07 +01:00
parent 7890baf54a
commit c8dd119cb8
No known key found for this signature in database
GPG key ID: 51AE804E47E6DA01

View file

@ -18,7 +18,7 @@
#include "encoderFactory.h"
#include "pcmEncoder.h"
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBIS_ENC)
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBISENC)
#include "oggEncoder.h"
#endif
#if defined(HAS_FLAC)
@ -44,7 +44,7 @@ Encoder* EncoderFactory::createEncoder(const std::string& codecSettings) const
}
if (codec == "pcm")
encoder = new PcmEncoder(codecOptions);
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBIS_ENC)
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBISENC)
else if (codec == "ogg")
encoder = new OggEncoder(codecOptions);
#endif