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

Jan Ekström git at videolan.org
Fri Dec 1 22:56:28 EET 2017


ffmpeg | branch: master | Jan Ekström <jeebjp at gmail.com> | Fri Dec  1 22:21:54 2017 +0200| [6939b3cb9d60a3159413d76c8656cb240c823412] | committer: Jan Ekström

mediacodecdec: fix build by including hwaccel.h

Enables the decoder to utilize the type AVCodecHWConfigInternal.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6939b3cb9d60a3159413d76c8656cb240c823412
---

 libavcodec/mediacodecdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c
index 6d392adb3a..39f5cbc045 100644
--- a/libavcodec/mediacodecdec.c
+++ b/libavcodec/mediacodecdec.c
@@ -33,6 +33,7 @@
 #include "avcodec.h"
 #include "h264_parse.h"
 #include "hevc_parse.h"
+#include "hwaccel.h"
 #include "internal.h"
 #include "mediacodec_wrapper.h"
 #include "mediacodecdec_common.h"



More information about the ffmpeg-cvslog mailing list