mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-28 14:52:52 +01:00
Remove a redundant call to InitLeft() in VP8IteratorReset()
VP8IteratorSetRow(it, 0) already did it. Change-Id: I410e48b5205897a6a23301d8a98aa266787676c6
This commit is contained in:
parent
c27d821096
commit
c4f6d9c939
@ -53,7 +53,6 @@ void VP8IteratorReset(VP8EncIterator* const it) {
|
|||||||
VP8IteratorSetRow(it, 0);
|
VP8IteratorSetRow(it, 0);
|
||||||
VP8IteratorSetCountDown(it, enc->mb_w_ * enc->mb_h_); // default
|
VP8IteratorSetCountDown(it, enc->mb_w_ * enc->mb_h_); // default
|
||||||
InitTop(it);
|
InitTop(it);
|
||||||
InitLeft(it);
|
|
||||||
memset(it->bit_count_, 0, sizeof(it->bit_count_));
|
memset(it->bit_count_, 0, sizeof(it->bit_count_));
|
||||||
it->do_trellis_ = 0;
|
it->do_trellis_ = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user