summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-08 20:11:20 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-12 18:29:11 +0200
commit492be8909e41ccd4b4e6f10758cff50dc2ef8b67 (patch)
tree5ae4be094bd4ebb1cbf283251c708f63eca10553 /libavcodec
parentc9b146756a2dde0291cd2f36883945d5031d5f50 (diff)
avcodec/vc1: Remove unused hrd fields
Unused since be3492ec7eb2dbb0748c123af911a06c125c90db. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1.c2
-rw-r--r--libavcodec/vc1.h2
-rw-r--r--libavcodec/vc1dec.c2
3 files changed, 0 insertions, 6 deletions
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);