diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-23 16:54:51 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-26 13:57:00 +0100 |
commit | d9f5bd15fd4abd23c2a1ff1f578046c188e9d91e (patch) | |
tree | d6a3d39edc54964dc17f6e714e46c2d2571f40dd /libavcodec/mpegvideo_enc.c | |
parent | f15477169ea9947336448af2772087c8fa1c6cdf (diff) |
avcodec/sp5x: Remove unused quant tables
Only the fifth one is used.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index d3b30c73dc..34dcf8c313 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -3881,8 +3881,8 @@ static int encode_picture(MpegEncContext *s, int picture_number) for(i=1;i<64;i++){ int j= s->idsp.idct_permutation[ff_zigzag_direct[i]]; - s->intra_matrix[j] = sp5x_quant_table[5*2+0][i]; - s->chroma_intra_matrix[j] = sp5x_quant_table[5*2+1][i]; + s->intra_matrix[j] = sp5x_qscale_five_quant_table[0][i]; + s->chroma_intra_matrix[j] = sp5x_qscale_five_quant_table[1][i]; } s->y_dc_scale_table= y; s->c_dc_scale_table= c; |