[FFmpeg-devel] [PATCH 11/11] lavc/hevcdec: drop unused HEVCContext.width/height

Vittorio Giovara vittorio.giovara at gmail.com
Fri May 31 22:11:34 EEST 2024


On Fri, May 31, 2024 at 7:49 PM Anton Khirnov <anton at khirnov.net> wrote:

> ---
>  libavcodec/hevc/hevcdec.h | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/libavcodec/hevc/hevcdec.h b/libavcodec/hevc/hevcdec.h
> index 8208268460..33ad4ac0aa 100644
> --- a/libavcodec/hevc/hevcdec.h
> +++ b/libavcodec/hevc/hevcdec.h
> @@ -456,9 +456,6 @@ typedef struct HEVCContext {
>      uint8_t             threads_type;
>      uint8_t             threads_number;
>
> -    int                 width;
> -    int                 height;
> -
>      /** 1 if the independent slice segment header was successfully parsed
> */
>      uint8_t slice_initialized;
>

Set looks mostly harmless, so lgtm
-- 
Vittorio


More information about the ffmpeg-devel mailing list