Browse Source

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 <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt 1 week ago
parent
commit
f67e5bf2cc
1 changed files with 0 additions and 4 deletions
  1. 0 4
      libavcodec/ituh263enc.c

+ 0 - 4
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