diff mbox series

[FFmpeg-devel,6/7] avcodec/vc1: Remove unused hrd fields

Message ID HE1PR0301MB21543B4DF60278C313BE25578F749@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Commit 492be8909e41ccd4b4e6f10758cff50dc2ef8b67
Headers show
Series [FFmpeg-devel,1/7] avcodec/rv34: Move dsp init code to rv30/rv40 | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt April 8, 2021, 7:42 p.m. UTC
Unused since be3492ec7eb2dbb0748c123af911a06c125c90db.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/vc1.c    | 2 --
 libavcodec/vc1.h    | 2 --
 libavcodec/vc1dec.c | 2 --
 3 files changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 5d854b35d2..b7140c089c 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -1699,8 +1699,6 @@  av_cold void ff_vc1_init_common(VC1Context *v)
 {
     static AVOnce init_static_once = AV_ONCE_INIT;
 
-    v->hrd_rate = v->hrd_buffer = NULL;
-
     /* defaults */
     v->pq      = -1;
     v->mvrange = 0; /* 7.1.1.18, p80 */
diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h
index 3e5368b891..9b25f0872f 100644
--- a/libavcodec/vc1.h
+++ b/libavcodec/vc1.h
@@ -322,8 +322,6 @@  typedef struct VC1Context{
     uint8_t* over_flags_plane;   ///< Overflags bitplane
     int overflg_is_raw;
     uint8_t condover;
-    uint16_t *hrd_rate, *hrd_buffer;
-    uint8_t *hrd_fullness;
     uint8_t range_mapy_flag;
     uint8_t range_mapuv_flag;
     uint8_t range_mapy;
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index a08f7fe847..8f112bf9b2 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -593,8 +593,6 @@  av_cold int ff_vc1_decode_end(AVCodecContext *avctx)
 
     for (i = 0; i < 4; i++)
         av_freep(&v->sr_rows[i >> 1][i & 1]);
-    av_freep(&v->hrd_rate);
-    av_freep(&v->hrd_buffer);
     ff_mpv_common_end(&v->s);
     av_freep(&v->mv_type_mb_plane);
     av_freep(&v->direct_mb_plane);