From c4f6d9c9397eaeb5cd562b984c932dc0ecb1e8c8 Mon Sep 17 00:00:00 2001 From: hui su Date: Mon, 12 Sep 2016 14:41:15 -0700 Subject: [PATCH] Remove a redundant call to InitLeft() in VP8IteratorReset() VP8IteratorSetRow(it, 0) already did it. Change-Id: I410e48b5205897a6a23301d8a98aa266787676c6 --- src/enc/iterator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/enc/iterator.c b/src/enc/iterator.c index 99d960a5..a3d45a98 100644 --- a/src/enc/iterator.c +++ b/src/enc/iterator.c @@ -53,7 +53,6 @@ void VP8IteratorReset(VP8EncIterator* const it) { VP8IteratorSetRow(it, 0); VP8IteratorSetCountDown(it, enc->mb_w_ * enc->mb_h_); // default InitTop(it); - InitLeft(it); memset(it->bit_count_, 0, sizeof(it->bit_count_)); it->do_trellis_ = 0; }