[FFmpeg-devel] [PATCH 06/15] avcodec/avcodec: Remove unnecessary forward declaration

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Aug 4 13:06:09 EEST 2023


Andreas Rheinhardt:
> This would only be necessary if this header declared a function
> that takes a (pointer to) struct AVCodecContext as parameter.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/avcodec.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index a2680256d7..649411ac79 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -421,8 +421,6 @@ typedef struct RcOverride{
>   */
>  #define AV_GET_ENCODE_BUFFER_FLAG_REF (1 << 0)
>  
> -struct AVCodecInternal;
> -
>  /**
>   * main external API structure.
>   * New fields can be added to the end with minor version bumps.

Will apply the part of this patchset that does not deal with the
addition of hwaccel_internal.h tomorrow unless there are objections.
Also: Ping for the hwaccel_internal.h patches.

- Andreas



More information about the ffmpeg-devel mailing list