shithub: libvpx

Download patch

ref: f38217322591004a3c56a4441e23276b7d3f4b60
parent: 63a77cbed9cfe3373defec6caca7b9d018f5b90e
parent: c0de35b413356d83887bcc3b9e5cc1e7e5807ec1
author: Johann <johannkoenig@google.com>
date: Wed Oct 19 10:36:29 EDT 2011

Merge "enc: save entropy probs only when needed for refresh"

--- a/vp8/encoder/bitstream.c
+++ b/vp8/encoder/bitstream.c
@@ -1784,9 +1784,9 @@
 
     vp8_clear_system_state();  //__asm emms;
 
-    //************************************************
-    // save a copy for later refresh
+    if (pc->refresh_entropy_probs == 0)
     {
+        // save a copy for later refresh
         vpx_memcpy(&cpi->common.lfc, &cpi->common.fc, sizeof(cpi->common.fc));
     }
 
--