]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/vc1: Remove unused hrd fields
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 8 Apr 2021 18:11:20 +0000 (20:11 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 12 Apr 2021 16:29:11 +0000 (18:29 +0200)
Unused since be3492ec7eb2dbb0748c123af911a06c125c90db.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/vc1.c
libavcodec/vc1.h
libavcodec/vc1dec.c

index 5d854b35d20922c618c1ad02dc1ec9eeb9d58ec4..b7140c089ce2629a1a4b35b7f49b76bd14598398 100644 (file)
@@ -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 */
index 3e5368b891e72b6139342d0a60937c4cd213bf3b..9b25f0872f21dab92cf372693337460fe552caf0 100644 (file)
@@ -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;
index a08f7fe847898336bacc0d0693b35d82197d8d0d..8f112bf9b2c81273d088f422ef1d44b569ef1169 100644 (file)
@@ -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);