From 37ecd7a44e14bc9afd960bd41af17eb95171ebbd Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 3 Mar 2025 20:32:59 +0100 Subject: [PATCH 13/40] avcodec/ituh263enc: Remove redundant setting of dc_scale_tables ff_mpeg1_dc_scale_table is already the default dc_scale table for both y and c. Signed-off-by: Andreas Rheinhardt --- libavcodec/ituh263enc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c index 2152046b43..ba2a373571 100644 --- a/libavcodec/ituh263enc.c +++ b/libavcodec/ituh263enc.c @@ -36,7 +36,6 @@ #include "avcodec.h" #include "codec_internal.h" #include "mpegvideo.h" -#include "mpegvideodata.h" #include "flvenc.h" #include "mpegvideoenc.h" #include "h263.h" @@ -862,9 +861,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) if(s->h263_aic){ s->y_dc_scale_table= s->c_dc_scale_table= ff_aic_dc_scale_table; - }else{ - s->y_dc_scale_table= - s->c_dc_scale_table= ff_mpeg1_dc_scale_table; } #if CONFIG_H263_ENCODER // Snow and SVQ1 call this -- 2.45.2