Commit d8926ea5 authored by Max Kellermann's avatar Max Kellermann

decoder/ffpmeg: use forward declarations

parent 0c1e428c
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#include "tag/TagTable.hxx" #include "tag/TagTable.hxx"
#include "tag/TagHandler.hxx" #include "tag/TagHandler.hxx"
extern "C" {
#include <libavutil/dict.h>
}
static constexpr struct tag_table ffmpeg_tags[] = { static constexpr struct tag_table ffmpeg_tags[] = {
{ "year", TAG_DATE }, { "year", TAG_DATE },
{ "author-sort", TAG_ARTIST_SORT }, { "author-sort", TAG_ARTIST_SORT },
......
...@@ -20,15 +20,7 @@ ...@@ -20,15 +20,7 @@
#ifndef MPD_FFMPEG_METADATA_HXX #ifndef MPD_FFMPEG_METADATA_HXX
#define MPD_FFMPEG_METADATA_HXX #define MPD_FFMPEG_METADATA_HXX
extern "C" { struct AVDictionary;
#include <libavutil/dict.h>
}
/* suppress the ffmpeg compatibility macro */
#ifdef SampleFormat
#undef SampleFormat
#endif
struct tag_handler; struct tag_handler;
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment