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 "encoderFactory.h"
#include "pcmEncoder.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" #include "oggEncoder.h"
#endif #endif
#if defined(HAS_FLAC) #if defined(HAS_FLAC)
@ -44,7 +44,7 @@ Encoder* EncoderFactory::createEncoder(const std::string& codecSettings) const
} }
if (codec == "pcm") if (codec == "pcm")
encoder = new PcmEncoder(codecOptions); 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") else if (codec == "ogg")
encoder = new OggEncoder(codecOptions); encoder = new OggEncoder(codecOptions);
#endif #endif