diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-28 12:06:38 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-31 12:01:33 +0100 |
commit | 908b7fcfb29712e5a9cacb005ad734c53e26e72c (patch) | |
tree | e69241d0b29a8ca0cd515262da04f398af203315 /libavcodec/speedhqenc.c | |
parent | 920ce150c60b36b8039fd187a228c4e8df5dcfb5 (diff) | |
download | ffmpeg-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/speedhqenc.c')
-rw-r--r-- | libavcodec/speedhqenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/speedhqenc.c b/libavcodec/speedhqenc.c index 65e66afae4..7269e345d3 100644 --- a/libavcodec/speedhqenc.c +++ b/libavcodec/speedhqenc.c @@ -115,7 +115,7 @@ av_cold int ff_speedhq_encode_init(MpegEncContext *s) s->intra_chroma_ac_vlc_last_length = uni_speedhq_ac_vlc_len; s->y_dc_scale_table = - s->c_dc_scale_table = ff_mpeg2_dc_scale_table[3]; + s->c_dc_scale_table = ff_mpeg12_dc_scale_table[3]; switch (s->avctx->pix_fmt) { case AV_PIX_FMT_YUV420P: |