input/ffmpeg: define AV_VERSION_INT if not present
Support ancient ffmpeg versions.
This commit is contained in:
parent
97b4a6b51f
commit
44401158e8
@ -32,6 +32,10 @@
|
|||||||
#undef G_LOG_DOMAIN
|
#undef G_LOG_DOMAIN
|
||||||
#define G_LOG_DOMAIN "input_ffmpeg"
|
#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_ffmpeg {
|
||||||
struct input_stream base;
|
struct input_stream base;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user