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

Mark Thompson sw at jkqxz.net
Fri Dec 1 22:44:49 EET 2017


On 01/12/17 20:30, Jan Ekström wrote:
> 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 {
>  
> 

LGTM.

(Apologies for breaking that.)

Thanks,

- Mark


More information about the ffmpeg-devel mailing list