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 | 36 | #include "avcodec.h" |
| 37 | 37 | #include "codec_internal.h" |
| 38 | 38 | #include "mpegvideo.h" |
| 39 | −#include "mpegvideodata.h" | |
| 40 | 39 | #include "flvenc.h" |
| 41 | 40 | #include "mpegvideoenc.h" |
| 42 | 41 | #include "h263.h" |
| @@ -862,9 +861,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) · 819 unmodified lines | ||
| 862 | 861 | if(s->h263_aic){ |
| 863 | 862 | s->y_dc_scale_table= |
| 864 | 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 | 866 | #if CONFIG_H263_ENCODER // Snow and SVQ1 call this |