Remove redundant init of segment_counts in vp8_encode_frame
segment_counts was zero init twice in the beginning of vp8_encode_frame. Change-Id: Ibc29f6896dabd9aab1d0993f3941cf6876022e70
This commit is contained in:
parent
3653fb473a
commit
565d0e6feb
@ -688,11 +688,9 @@ void vp8_encode_frame(VP8_COMP *cpi)
|
||||
xd->subpixel_predict16x16 = vp8_bilinear_predict16x16;
|
||||
}
|
||||
|
||||
// Reset frame count of inter 0,0 motion vector useage.
|
||||
// Reset frame count of inter 0,0 motion vector usage.
|
||||
cpi->inter_zz_count = 0;
|
||||
|
||||
vpx_memset(segment_counts, 0, sizeof(segment_counts));
|
||||
|
||||
cpi->prediction_error = 0;
|
||||
cpi->intra_error = 0;
|
||||
cpi->skip_true_count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user