avcodec/flvdec, intelh263dec: Remove redundant assignments

ff_mpeg1_dc_scale_table is the default value for
[yc]_dc_scale_table (as set by ff_mpv_common_defaults()).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/388/head
Andreas Rheinhardt 2 years ago
parent 700a39e63c
commit 1916ead811
  1. 2
      libavcodec/flvdec.c
  2. 3
      libavcodec/intelh263dec.c

@ -108,8 +108,6 @@ int ff_flv_decode_picture_header(MpegEncContext *s)
s->h263_flv - 1, s->qscale, s->picture_number);
}
s->y_dc_scale_table = s->c_dc_scale_table = ff_mpeg1_dc_scale_table;
return 0;
}

@ -122,9 +122,6 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s)
return AVERROR_INVALIDDATA;
s->f_code = 1;
s->y_dc_scale_table=
s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
ff_h263_show_pict_info(s);
return 0;

Loading…
Cancel
Save