[FFmpeg-devel] [PATCH] avcodec/motion_est: Remove unused elements

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Oct 14 23:11:24 EEST 2022


Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/motion_est.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h
> index 292bdc70e9..b20cdabbbb 100644
> --- a/libavcodec/motion_est.h
> +++ b/libavcodec/motion_est.h
> @@ -51,8 +51,6 @@ typedef struct MotionEstContext {
>      int direct_basis_mv[4][2];
>      uint8_t *scratchpad;            /**< data area for the ME algo, so that
>                                       * the ME does not need to malloc/free. */
> -    uint8_t *best_mb;
> -    uint8_t *temp_mb[2];
>      uint8_t *temp;
>      int best_bits;
>      uint32_t *map;                  ///< map to avoid duplicate evaluations

Will apply this patch tomorrow unless there are objections.

- Andreas



More information about the ffmpeg-devel mailing list