ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Mon Mar 3 20:09:58 2025 +0100| [17ff442adb385bddc5f2c8967fc581bf833f3e4d] | committer: Andreas Rheinhardt
avcodec/flvenc: Remove redundant setting of dc_scale_tables h263_aic is always zero for FLV and ff_mpeg1_dc_scale_table is already the default dc_scale table for both y and c. h263_aic is also always zero for the FLV decoder. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=17ff442adb385bddc5f2c8967fc581bf833f3e4d --- libavcodec/flvenc.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c index cbe3b7f056..192c2a929f 100644 --- a/libavcodec/flvenc.c +++ b/libavcodec/flvenc.c @@ -20,9 +20,7 @@ #include "codec_internal.h" #include "flvenc.h" -#include "h263data.h" #include "mpegvideo.h" -#include "mpegvideodata.h" #include "mpegvideoenc.h" void ff_flv_encode_picture_header(MpegEncContext *s) @@ -63,14 +61,6 @@ void ff_flv_encode_picture_header(MpegEncContext *s) put_bits(&s->pb, 1, 1); /* DeblockingFlag: on */ put_bits(&s->pb, 5, s->qscale); /* Quantizer */ put_bits(&s->pb, 1, 0); /* ExtraInformation */ - - if (s->h263_aic) { - s->y_dc_scale_table = - s->c_dc_scale_table = ff_aic_dc_scale_table; - } else { - s->y_dc_scale_table = - s->c_dc_scale_table = ff_mpeg1_dc_scale_table; - } } void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".