{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:
Max Kellermann 2023-03-10 12:39:24 +01:00
parent 2c47357991
commit 43b26ee612
2 changed files with 0 additions and 8 deletions

View File

@ -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
{

View File

@ -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;