diff options
Diffstat (limited to 'common/av_log.c')
-rw-r--r-- | common/av_log.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/av_log.c b/common/av_log.c index afc66b0ed2..a9a5171795 100644 --- a/common/av_log.c +++ b/common/av_log.c @@ -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; |