History

avcodec/ituh263enc: Combine branches

Andreas Rheinhardt committed 1 year ago

Commit 9ca97751 parent f67e5bf1 file · +3 −4Browse files

Unified · Split

libavcodec/ituh263enc.c+3−4
@@ -826,6 +826,9 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) · 825 unmodified lines
826826 if(s->h263_aic){
827827 s->intra_ac_vlc_length = uni_h263_intra_aic_rl_len;
828828 s->intra_ac_vlc_last_length= uni_h263_intra_aic_rl_len + 128*64;
829+
830+ s->y_dc_scale_table =
831+ s->c_dc_scale_table = ff_aic_dc_scale_table;
829832 }
830833 s->ac_esc_length= 7+1+6+8;
831834
@@ -858,10 +861,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) · 26 unmodified lines
858861 s->min_qcoeff= -127;
859862 s->max_qcoeff= 127;
860863 }
861− if(s->h263_aic){
862− s->y_dc_scale_table=
863− s->c_dc_scale_table= ff_aic_dc_scale_table;
864− }
865864
866865 #if CONFIG_H263_ENCODER // Snow and SVQ1 call this
867866 ff_h263dsp_init(&s->h263dsp);

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