diff options
author | Max Kellermann <max@duempel.org> | 2014-12-10 13:40:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-10 13:42:34 +0100 |
commit | d8926ea5eb3314794db5a12ea8b09474a3c78cd1 (patch) | |
tree | d4b72109e215fc70f3eaccc3194b286914d172a5 /src/decoder/plugins | |
parent | 0c1e428c7d0d0b3d378b62be012e3c3709f0448e (diff) | |
download | mpd-d8926ea5eb3314794db5a12ea8b09474a3c78cd1.tar.gz mpd-d8926ea5eb3314794db5a12ea8b09474a3c78cd1.tar.xz mpd-d8926ea5eb3314794db5a12ea8b09474a3c78cd1.zip |
decoder/ffpmeg: use forward declarations
Diffstat (limited to '')
-rw-r--r-- | src/decoder/plugins/FfmpegMetaData.cxx | 4 | ||||
-rw-r--r-- | src/decoder/plugins/FfmpegMetaData.hxx | 10 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx index b81d19387..b8f7a12a3 100644 --- a/src/decoder/plugins/FfmpegMetaData.cxx +++ b/src/decoder/plugins/FfmpegMetaData.cxx @@ -25,6 +25,10 @@ #include "tag/TagTable.hxx" #include "tag/TagHandler.hxx" +extern "C" { +#include <libavutil/dict.h> +} + static constexpr struct tag_table ffmpeg_tags[] = { { "year", TAG_DATE }, { "author-sort", TAG_ARTIST_SORT }, diff --git a/src/decoder/plugins/FfmpegMetaData.hxx b/src/decoder/plugins/FfmpegMetaData.hxx index 1f233fb6e..4b77adf5d 100644 --- a/src/decoder/plugins/FfmpegMetaData.hxx +++ b/src/decoder/plugins/FfmpegMetaData.hxx @@ -20,15 +20,7 @@ #ifndef MPD_FFMPEG_METADATA_HXX #define MPD_FFMPEG_METADATA_HXX -extern "C" { -#include <libavutil/dict.h> -} - -/* suppress the ffmpeg compatibility macro */ -#ifdef SampleFormat -#undef SampleFormat -#endif - +struct AVDictionary; struct tag_handler; void |