aboutsummaryrefslogtreecommitdiff
path: root/src/decoder/FfmpegMetaData.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-28 20:53:48 +0100
committerMax Kellermann <max@duempel.org>2013-01-28 21:32:14 +0100
commit0dd4b52b63519a4fb8197b127b7548f7c94a1a32 (patch)
tree91666c04968f4e3025061a1e65f078fea29c2a55 /src/decoder/FfmpegMetaData.hxx
parent88c17926e4b5d5d88025b62a84a8c83991f397ff (diff)
decoder/ffmpeg: require ffmpeg/libav 0.7.6
This is the version present in Ubuntu Oneiric, the oldest distribution with gcc 4.6. Debian Squeeze is off target, because it has gcc 4.4, which is unable to compile MPD anyway. This commit drops all API compatibility hacks for older versions.
Diffstat (limited to 'src/decoder/FfmpegMetaData.hxx')
-rw-r--r--src/decoder/FfmpegMetaData.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/decoder/FfmpegMetaData.hxx b/src/decoder/FfmpegMetaData.hxx
index f76e1628..466d2cb1 100644
--- a/src/decoder/FfmpegMetaData.hxx
+++ b/src/decoder/FfmpegMetaData.hxx
@@ -23,17 +23,9 @@
extern "C" {
#include <libavformat/avformat.h>
#include <libavutil/avutil.h>
-#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,5,0)
#include <libavutil/dict.h>
-#endif
}
-#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53,1,0)
-#define AVDictionary AVMetadata
-#define AVDictionaryEntry AVMetadataTag
-#define av_dict_get av_metadata_get
-#endif
-
struct tag_handler;
void