aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_metadata.c
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2012-02-15 21:42:52 +0100
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>2012-02-15 21:42:52 +0100
commit00a20fc8a5a7af2e92a5cbeca7b263a247198829 (patch)
tree1583c1284ba8470c54096d5a018d693ac346ac74 /src/decoder/ffmpeg_metadata.c
parentfa39bb0a503af92e7558c2f89ede69e32932d17f (diff)
downloadmpd-00a20fc8a5a7af2e92a5cbeca7b263a247198829.tar.gz
mpd-00a20fc8a5a7af2e92a5cbeca7b263a247198829.tar.xz
mpd-00a20fc8a5a7af2e92a5cbeca7b263a247198829.zip
decoder/ffmpeg: always use AV_VERSION_INT
Diffstat (limited to '')
-rw-r--r--src/decoder/ffmpeg_metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_metadata.c b/src/decoder/ffmpeg_metadata.c
index 3d59ec1a9..3ef774f63 100644
--- a/src/decoder/ffmpeg_metadata.c
+++ b/src/decoder/ffmpeg_metadata.c
@@ -26,7 +26,7 @@
#define G_LOG_DOMAIN "ffmpeg"
static const struct tag_table ffmpeg_tags[] = {
-#if LIBAVFORMAT_VERSION_INT < ((52<<16)+(50<<8))
+#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52,50,0)
{ "author", TAG_ARTIST },
#endif
{ "year", TAG_DATE },