aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_metadata.c
diff options
context:
space:
mode:
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 },