{de,en}coder/flac: remove obsolete FLAC_API_VERSION_CURRENT checks
We check the libFLAC version via pkg-config at configure time, no need to do it again.
This commit is contained in:
parent
2c47357991
commit
43b26ee612
@ -12,10 +12,6 @@
|
||||
#include "fs/NarrowPath.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
|
||||
#error libFLAC is too old
|
||||
#endif
|
||||
|
||||
static void
|
||||
flacPrintErroredState(FLAC__StreamDecoderState state) noexcept
|
||||
{
|
||||
|
@ -17,10 +17,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
|
||||
#error libFLAC is too old
|
||||
#endif
|
||||
|
||||
class FlacEncoder final : public Encoder {
|
||||
const AudioFormat audio_format;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user