shithub: libvpx

Download patch

ref: 0497d3a827e3629baaa8803f966f86fc90780059
parent: b770def572e91c563bfa4bc18b4c7d271ed55bc2
parent: 76ccba9ec88fd421814a21f8049a16e71ae9d119
author: Jingning Han <[email protected]>
date: Wed Jul 8 15:27:21 EDT 2015

Merge "Reset dqcoeff[0] only if eob is 1"

--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -277,7 +277,7 @@
 #endif  // CONFIG_VP9_HIGHBITDEPTH
 
     if (eob == 1) {
-      memset(dqcoeff, 0, 2 * sizeof(dqcoeff[0]));
+      dqcoeff[0] = 0;
     } else {
       if (tx_type == DCT_DCT && tx_size <= TX_16X16 && eob <= 10)
         memset(dqcoeff, 0, 4 * (4 << tx_size) * sizeof(dqcoeff[0]));