mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
av_log: use proper FFmpeg version extraction macros
Though not like they will or can never change them.
This commit is contained in:
parent
cde94e83a9
commit
9683617559
@ -177,7 +177,9 @@ void uninit_libav(struct mpv_global *global)
|
||||
pthread_mutex_unlock(&log_lock);
|
||||
}
|
||||
|
||||
#define V(x) (x)>>16, (x)>>8 & 255, (x) & 255
|
||||
#define V(x) AV_VERSION_MAJOR(x), \
|
||||
AV_VERSION_MINOR(x), \
|
||||
AV_VERSION_MICRO(x)
|
||||
|
||||
struct lib {
|
||||
const char *name;
|
||||
|
Loading…
Reference in New Issue
Block a user