aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/ffmpeg_input_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/ffmpeg_input_plugin.c')
-rw-r--r--src/input/ffmpeg_input_plugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/ffmpeg_input_plugin.c b/src/input/ffmpeg_input_plugin.c
index 1c64b52c1..d71b3d4c0 100644
--- a/src/input/ffmpeg_input_plugin.c
+++ b/src/input/ffmpeg_input_plugin.c
@@ -28,6 +28,10 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "input_ffmpeg"
+#ifndef AV_VERSION_INT
+#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
+#endif
+
struct input_ffmpeg {
struct input_stream base;