aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12enc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-28 12:06:38 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-31 12:01:33 +0100
commit908b7fcfb29712e5a9cacb005ad734c53e26e72c (patch)
treee69241d0b29a8ca0cd515262da04f398af203315 /libavcodec/mpeg12enc.c
parent920ce150c60b36b8039fd187a228c4e8df5dcfb5 (diff)
downloadffmpeg-908b7fcfb29712e5a9cacb005ad734c53e26e72c.tar.gz
avcodec/mpegvideodata: Join mpeg1/2 dc scale tables
Avoids relocations. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r--libavcodec/mpeg12enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c
index 2db1d93d0e..3ad1cd84a1 100644
--- a/libavcodec/mpeg12enc.c
+++ b/libavcodec/mpeg12enc.c
@@ -1148,7 +1148,7 @@ av_cold void ff_mpeg1_encode_init(MpegEncContext *s)
static AVOnce init_static_once = AV_ONCE_INIT;
s->y_dc_scale_table =
- s->c_dc_scale_table = ff_mpeg2_dc_scale_table[s->intra_dc_precision];
+ s->c_dc_scale_table = ff_mpeg12_dc_scale_table[s->intra_dc_precision];
s->me.mv_penalty = mv_penalty;
s->fcode_tab = fcode_tab;