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

Submitted by Jan Ekström on Dec. 1, 2017, 8:30 p.m.

Details

Message ID 20171201203027.4560-1-jeebjp@gmail.com
State New
Headers show

Commit Message

Jan Ekström Dec. 1, 2017, 8:30 p.m.
Enables the decoder to utilize the type AVCodecHWConfigInternal.
---
 libavcodec/mediacodecdec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Thompson Dec. 1, 2017, 8:44 p.m.
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
Jan Ekström Dec. 1, 2017, 8:59 p.m.
On Fri, Dec 1, 2017 at 10:44 PM, Mark Thompson <sw@jkqxz.net> wrote:
>
> LGTM.
>
> (Apologies for breaking that.)
>

Thanks for the LGTM. Pushed with the header include added in its
alphabetically ordered position as recommended on IRC.

And no problem, we all miss things :) .

Jan

Patch hide | download patch | download mbox

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 {