decoder/ffpmeg: use forward declarations

This commit is contained in:
Max Kellermann 2014-12-10 13:40:53 +01:00
parent 0c1e428c7d
commit d8926ea5eb
2 changed files with 5 additions and 9 deletions

View File

@ -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 },

View File

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