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

Nicolas George george at nsup.org
Thu Jul 4 17:03:42 EEST 2019


Matthieu Bouron (12019-07-04):
> ---
>  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>

AFAIK, this is not the correct way of including one of our own headers,
especially from the same sub-library. Just "avcodec.h".

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

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190704/e4744d7b/attachment.sig>


More information about the ffmpeg-devel mailing list