History

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.

Andreas Rheinhardt committed 1 year ago

Commit f67e5bf1 parent 94f36421 file · +0 −4Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/ituh263enc.c+0−4
@@ -36,7 +36,6 @@ · 35 unmodified lines
3636 #include "avcodec.h"
3737 #include "codec_internal.h"
3838 #include "mpegvideo.h"
39−#include "mpegvideodata.h"
4039 #include "flvenc.h"
4140 #include "mpegvideoenc.h"
4241 #include "h263.h"
@@ -862,9 +861,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) · 819 unmodified lines
862861 if(s->h263_aic){
863862 s->y_dc_scale_table=
864863 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;
868864 }
869865
870866 #if CONFIG_H263_ENCODER // Snow and SVQ1 call this

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t