summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2018-05-25 17:48:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-25 17:48:28 +0000
commited217fe372f59eaeef074b4d3859b49a700cfa47 (patch)
tree1bf936821b3a160d364b6ee56d40a078191fef77
parent36825590ba676d54765c6c31482cacb4fe661b43 (diff)
parent52add5896661d186dec284ed646a4b33b607d2c7 (diff)
downloadlibvpx-ed217fe372f59eaeef074b4d3859b49a700cfa47.tar
libvpx-ed217fe372f59eaeef074b4d3859b49a700cfa47.tar.gz
libvpx-ed217fe372f59eaeef074b4d3859b49a700cfa47.tar.bz2
libvpx-ed217fe372f59eaeef074b4d3859b49a700cfa47.zip
Merge "VP8: Fix use-after-free in postproc."
-rw-r--r--vp8/common/postproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/common/postproc.c b/vp8/common/postproc.c
index d67ee8a57..8c292d616 100644
--- a/vp8/common/postproc.c
+++ b/vp8/common/postproc.c
@@ -65,7 +65,7 @@ void vp8_deblock(VP8_COMMON *cm, YV12_BUFFER_CONFIG *source,
double level = 6.0e-05 * q * q * q - .0067 * q * q + .306 * q + .0065;
int ppl = (int)(level + .5);
- const MODE_INFO *mode_info_context = cm->show_frame_mi;
+ const MODE_INFO *mode_info_context = cm->mi;
int mbr, mbc;
/* The pixel thresholds are adjusted according to if or not the macroblock