ff_mpeg1_dc_scale_table is already the default dc_scale table for both y and c.
Unified · Split
| @@ -36,7 +36,6 @@ · 35 unmodified lines | |||
| 36 | #include "avcodec.h" | 36 | #include "avcodec.h" |
| 37 | #include "codec_internal.h" | 37 | #include "codec_internal.h" |
| 38 | #include "mpegvideo.h" | 38 | #include "mpegvideo.h" |
| 39 | #include "mpegvideodata.h" | ||
| 40 | #include "flvenc.h" | 39 | #include "flvenc.h" |
| 41 | #include "mpegvideoenc.h" | 40 | #include "mpegvideoenc.h" |
| 42 | #include "h263.h" | 41 | #include "h263.h" |
| @@ -862,9 +861,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) · 819 unmodified lines | |||
| 862 | if(s->h263_aic){ | 861 | if(s->h263_aic){ |
| 863 | s->y_dc_scale_table= | 862 | s->y_dc_scale_table= |
| 864 | s->c_dc_scale_table= ff_aic_dc_scale_table; | 863 | s->c_dc_scale_table= ff_aic_dc_scale_table; |
| 865 | }else{ | ||
| 866 | s->y_dc_scale_table= | ||
| 867 | s->c_dc_scale_table= ff_mpeg1_dc_scale_table; | ||
| 868 | } | 864 | } |
| 869 | 865 | ||
| 870 | #if CONFIG_H263_ENCODER // Snow and SVQ1 call this | 866 | #if CONFIG_H263_ENCODER // Snow and SVQ1 call this |