diff options
author | wm4 <wm4@nowhere> | 2017-05-04 01:17:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-05-04 02:12:10 +0200 |
commit | 1cab4b607585d5c1255cb6c4d572610d7ccfb99c (patch) | |
tree | ecb09951493326a3dfe4b3adfa6391acb1402d0d /video | |
parent | 1143f2877a70c8aa3f0b44e746360215e470dd56 (diff) | |
download | mpv-1cab4b607585d5c1255cb6c4d572610d7ccfb99c.tar.bz2 mpv-1cab4b607585d5c1255cb6c4d572610d7ccfb99c.tar.xz |
d3d: fix build with Libav
Apparently it has been broken since forever?
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/hw_d3d11va.c | 1 | ||||
-rw-r--r-- | video/decode/hw_dxva2.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/hw_d3d11va.c b/video/decode/hw_d3d11va.c index bb59034ab0..78d81c2acb 100644 --- a/video/decode/hw_d3d11va.c +++ b/video/decode/hw_d3d11va.c @@ -16,6 +16,7 @@ */ #include <libavcodec/d3d11va.h> +#include <libavutil/mem.h> #include "lavc.h" #include "common/common.h" diff --git a/video/decode/hw_dxva2.c b/video/decode/hw_dxva2.c index 7be0d9b9fa..b2ba562cea 100644 --- a/video/decode/hw_dxva2.c +++ b/video/decode/hw_dxva2.c @@ -21,6 +21,7 @@ #define DXVA2API_USE_BITFIELDS #include <libavcodec/dxva2.h> +#include <libavutil/common.h> #include "lavc.h" #include "common/common.h" |