History

avcodec/mpegvideo_enc: Move H.263 specific check to ituh263enc.c

Andreas Rheinhardt committed 1 year ago

Commit 1ec1f1e1 parent c3ab7362 files · +3 −3Browse files

Unified · Split

2 files
  1. libavcodec/ituh263enc.c +3 −0
  2. libavcodec/mpegvideo_enc.c +0 −3
libavcodec/ituh263enc.c+3−0
@@ -834,6 +834,9 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) · 833 unmodified lines
834 }834 }
835 s->ac_esc_length= 7+1+6+8;835 s->ac_esc_length= 7+1+6+8;
836 836
837 if (s->modified_quant)
838 s->chroma_qscale_table = ff_h263_chroma_qscale_table;
839
837 // use fcodes >1 only for MPEG-4 & H.263 & H.263+ FIXME840 // use fcodes >1 only for MPEG-4 & H.263 & H.263+ FIXME
838 switch(s->codec_id){841 switch(s->codec_id){
839 case AV_CODEC_ID_MPEG4:842 case AV_CODEC_ID_MPEG4:
libavcodec/mpegvideo_enc.c+0−3
@@ -994,9 +994,6 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx) · 993 unmodified lines
994 s->dct_unquantize_inter = s->dct_unquantize_mpeg1_inter;994 s->dct_unquantize_inter = s->dct_unquantize_mpeg1_inter;
995 }995 }
996 996
997 if ((CONFIG_H263P_ENCODER || CONFIG_RV20_ENCODER) && s->modified_quant)
998 s->chroma_qscale_table = ff_h263_chroma_qscale_table;
999
1000 if (s->slice_context_count > 1) {997 if (s->slice_context_count > 1) {
1001 s->rtp_mode = 1;998 s->rtp_mode = 1;
1002 999

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