{input,decoder}/ffmpeg: move ffmpeg_domain to lib/ffmpeg/Domain.cxx
Eliminate duplicate definition (in input plugin and decoder plugin).
This commit is contained in:
@@ -22,11 +22,11 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "FfmpegInputPlugin.hxx"
|
||||
#include "lib/ffmpeg/Domain.hxx"
|
||||
#include "../InputStream.hxx"
|
||||
#include "../InputPlugin.hxx"
|
||||
#include "util/StringUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include <libavformat/avio.h>
|
||||
@@ -63,8 +63,6 @@ struct FfmpegInputStream final : public InputStream {
|
||||
bool Seek(offset_type offset, Error &error) override;
|
||||
};
|
||||
|
||||
static constexpr Domain ffmpeg_domain("ffmpeg");
|
||||
|
||||
static inline bool
|
||||
input_ffmpeg_supported(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user