[FFmpeg-devel] [PATCH 1/4] avcodec/mediacodec_wrapper: add missing <libavcodec/avcodec.h> include

James Almer jamrial at gmail.com
Thu Jul 4 17:00:52 EEST 2019


On 7/4/2019 10:43 AM, Matthieu Bouron wrote:
> ---
>  libavcodec/mediacodec_wrapper.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/mediacodec_wrapper.h b/libavcodec/mediacodec_wrapper.h
> index f0de16d669..58e5dc7d39 100644
> --- a/libavcodec/mediacodec_wrapper.h
> +++ b/libavcodec/mediacodec_wrapper.h
> @@ -26,6 +26,8 @@
>  #include <stdint.h>
>  #include <sys/types.h>
>  
> +#include <libavcodec/avcodec.h>

"avcodec.h" is enough. This is an internal header.

> +
>  /**
>   * The following API around MediaCodec and MediaFormat is based on the
>   * NDK one provided by Google since Android 5.0.
> 



More information about the ffmpeg-devel mailing list