[FFmpeg-cvslog] avcodec/vc1: Remove unused hrd fields
Andreas Rheinhardt
git at videolan.org
Mon Apr 12 19:57:12 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Apr 8 20:11:20 2021 +0200| [492be8909e41ccd4b4e6f10758cff50dc2ef8b67] | committer: Andreas Rheinhardt
avcodec/vc1: Remove unused hrd fields
Unused since be3492ec7eb2dbb0748c123af911a06c125c90db.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=492be8909e41ccd4b4e6f10758cff50dc2ef8b67
---
libavcodec/vc1.c | 2 --
libavcodec/vc1.h | 2 --
libavcodec/vc1dec.c | 2 --
3 files changed, 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);
More information about the ffmpeg-cvslog
mailing list