{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:
Max Kellermann
2014-08-18 10:12:37 +02:00
parent 41a4b280ee
commit 636f5d4a1d
5 changed files with 64 additions and 7 deletions

View File

@@ -22,6 +22,7 @@
#include "config.h"
#include "FfmpegDecoderPlugin.hxx"
#include "lib/ffmpeg/Domain.hxx"
#include "../DecoderAPI.hxx"
#include "FfmpegMetaData.hxx"
#include "tag/TagHandler.hxx"
@@ -47,8 +48,6 @@ extern "C" {
#include <assert.h>
#include <string.h>
static constexpr Domain ffmpeg_domain("ffmpeg");
/* suppress the ffmpeg compatibility macro */
#ifdef SampleFormat
#undef SampleFormat