diff options
author | wm4 <wm4@nowhere> | 2017-10-31 14:12:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-31 14:12:11 +0100 |
commit | ff093e5b7816f6e23fd6d4e9e4f9f54444ad63ac (patch) | |
tree | 3ab880f86abf7f87fda1d2427325806b13b354f2 /video | |
parent | 0b8b64fba312d53ae72974618e2e7f191afa0d00 (diff) |
vd_lavc: makre sure required headers are included early enough
Should fix #5062.
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/lavc.h | 1 | ||||
-rw-r--r-- | video/decode/vd_lavc.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index 5795af3ecf..f3cebd0f20 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -5,6 +5,7 @@ #include <pthread.h> #include <libavcodec/avcodec.h> +#include <libavutil/hwcontext.h> #include "config.h" diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index d146270062..824eb12a11 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -24,7 +24,6 @@ #include <libavutil/common.h> #include <libavutil/opt.h> -#include <libavutil/hwcontext.h> #include <libavutil/intreadwrite.h> #include <libavutil/pixdesc.h> |