[FFmpeg-cvslog] avcodec/vc1dec: Don't initialize inter_scantable

Andreas Rheinhardt git at videolan.org
Tue Mar 4 14:35:50 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Feb 25 22:56:21 2025 +0100| [f76195ff656d6bea68feee783160652e2b3e3d60] | committer: Andreas Rheinhardt

avcodec/vc1dec: Don't initialize inter_scantable

It is unused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f76195ff656d6bea68feee783160652e2b3e3d60
---

 libavcodec/vc1dec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index f079a8745b..cfd97c4ca6 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -474,8 +474,6 @@ av_cold int ff_vc1_decode_init(AVCodecContext *avctx)
     s->y_dc_scale_table = ff_wmv3_dc_scale_table;
     s->c_dc_scale_table = ff_wmv3_dc_scale_table;
 
-    ff_init_scantable(s->idsp.idct_permutation, &s->inter_scantable,
-                      ff_wmv1_scantable[0]);
     ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable,
                       ff_wmv1_scantable[1]);
 



More information about the ffmpeg-cvslog mailing list