commit | e7dbeb4e90e323e09aa299bd2bce55de1adc2f4f | [log] [tgz] |
---|---|---|
author | David Barker <david.barker@argondesign.com> | Wed Mar 21 13:23:46 2018 +0000 |
committer | Debargha Mukherjee <debargha@google.com> | Wed Mar 21 17:49:57 2018 +0000 |
tree | 4a48ca1544b1f725ad8e8fc46b9566e85e4968d3 | |
parent | ee0819e6ab5200b5dbbe3483afceb9aa616eb49b [diff] |
[NORMATIVE] Properly reset mode_deltas Commit https://aomedia-review.googlesource.com/c/aom/+/52001 introduced a bug where the av1_set_default_mode_deltas() function does not properly clear the mode_deltas array. This patch fixes a typo and makes it work properly again. BUG=aomedia:1632 Change-Id: I697653bd26c743ead22bc042b5e4a63ffc224c70
diff --git a/av1/common/entropymode.c b/av1/common/entropymode.c index 6da336b..56ee030 100644 --- a/av1/common/entropymode.c +++ b/av1/common/entropymode.c
@@ -1161,7 +1161,7 @@ assert(mode_deltas != NULL); mode_deltas[0] = 0; - mode_deltas[0] = 0; + mode_deltas[1] = 0; } static void set_default_lf_deltas(struct loopfilter *lf) {