diff mbox series

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

Message ID AS8P250MB0744506D6332E84D40106ACF8F259@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit d2fd0ea1d7feb31bea67a5143108b4ec64eb2287
Headers show
Series [FFmpeg-devel] avcodec/motion_est: Remove unused elements | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Oct. 13, 2022, 1:08 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/motion_est.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Andreas Rheinhardt Oct. 14, 2022, 8:11 p.m. UTC | #1
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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
diff mbox series

Patch

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