[FFmpeg-devel] [PATCH] mediacodecdec: fix build by including hwaccel.h

Jan Ekström jeebjp at gmail.com
Fri Dec 1 22:30:27 EET 2017


Enables the decoder to utilize the type AVCodecHWConfigInternal.
---
 libavcodec/mediacodecdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c
index 6d392adb3a..63209f52ac 100644
--- a/libavcodec/mediacodecdec.c
+++ b/libavcodec/mediacodecdec.c
@@ -36,6 +36,7 @@
 #include "internal.h"
 #include "mediacodec_wrapper.h"
 #include "mediacodecdec_common.h"
+#include "hwaccel.h"
 
 typedef struct MediaCodecH264DecContext {
 
-- 
2.14.3



More information about the ffmpeg-devel mailing list