[FFmpeg-cvslog] vaapi_vp8: Explicitly include libva vp8 decode header
Mark Thompson
git at videolan.org
Mon Mar 20 12:54:38 EET 2017
ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Fri Sep 9 15:59:13 2016 +0100| [75d642a944d5579e4ef20ff3701422a64692afcf] | committer: Mark Thompson
vaapi_vp8: Explicitly include libva vp8 decode header
With some old libva versions <va/va.h> does not automatically include
the per-codec subsidiary headers, so we need to include the right one
explicitly ourselves.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75d642a944d5579e4ef20ff3701422a64692afcf
---
libavcodec/vaapi_vp8.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/vaapi_vp8.c b/libavcodec/vaapi_vp8.c
index a130c04..70e9cec 100644
--- a/libavcodec/vaapi_vp8.c
+++ b/libavcodec/vaapi_vp8.c
@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <va/va.h>
+#include <va/va_dec_vp8.h>
+
#include "vaapi_decode.h"
#include "vp8.h"
More information about the ffmpeg-cvslog
mailing list