Commit 44401158 authored by Max Kellermann's avatar Max Kellermann

input/ffmpeg: define AV_VERSION_INT if not present

Support ancient ffmpeg versions.
parent 97b4a6b5
......@@ -32,6 +32,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment