mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
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>
This commit is contained in:
parent
700a39e63c
commit
1916ead811
@ -108,8 +108,6 @@ int ff_flv_decode_picture_header(MpegEncContext *s)
|
|||||||
s->h263_flv - 1, s->qscale, s->picture_number);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,9 +122,6 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s)
|
|||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
s->f_code = 1;
|
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);
|
ff_h263_show_pict_info(s);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user