[FFmpeg-devel] [PATCH] vda: add necessary includes to pass make checkheaders.

Ronald S. Bultje rsbultje at gmail.com
Wed Mar 29 00:35:08 EEST 2017


---
 libavcodec/vda_vt_internal.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavcodec/vda_vt_internal.h b/libavcodec/vda_vt_internal.h
index 9ff63cc..458ebb4 100644
--- a/libavcodec/vda_vt_internal.h
+++ b/libavcodec/vda_vt_internal.h
@@ -19,6 +19,13 @@
 #ifndef AVCODEC_VDA_VT_INTERNAL_H
 #define AVCODEC_VDA_VT_INTERNAL_H
 
+#include <stdint.h>
+#define Picture QuickdrawPicture
+#include <VideoDecodeAcceleration/VDADecoder.h>
+#undef Picture
+
+#include "libavcodec/avcodec.h"
+
 void ff_vda_output_callback(void *vda_hw_ctx,
                             CFDictionaryRef user_info,
                             OSStatus status,
-- 
2.8.1



More information about the ffmpeg-devel mailing list