summaryrefslogtreecommitdiff
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-27 23:05:13 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-13 15:27:25 +0100
commit584f26db0d8e4a2d34ec027b6bc70a9b2eb14926 (patch)
tree6d395cfe7c0b32b117544dd99450ace2c85cd2b3 /libavcodec/wmv2.c
parentb81a29d1809ca663eadd0238373ea9091cb6f880 (diff)
avcodec/wmv2: Move initializing abt_scantables to the decoder
They are not used by the encoder at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r--libavcodec/wmv2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index fd64a0938f..57e1267782 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -20,11 +20,9 @@
#include "avcodec.h"
#include "idctdsp.h"
-#include "mpegutils.h"
#include "mpegvideo.h"
#include "msmpeg4data.h"
#include "wmv2.h"
-#include "wmv2data.h"
av_cold void ff_wmv2_common_init(Wmv2Context *w)
@@ -36,10 +34,6 @@ av_cold void ff_wmv2_common_init(Wmv2Context *w)
s->idsp.perm_type = w->wdsp.idct_perm;
ff_init_scantable_permutation(s->idsp.idct_permutation,
w->wdsp.idct_perm);
- ff_init_scantable(s->idsp.idct_permutation, &w->abt_scantable[0],
- ff_wmv2_scantableA);
- ff_init_scantable(s->idsp.idct_permutation, &w->abt_scantable[1],
- ff_wmv2_scantableB);
ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable,
ff_wmv1_scantable[1]);
ff_init_scantable(s->idsp.idct_permutation, &s->intra_h_scantable,