shithub: libvpx

Download patch

ref: ec34afd1b0bc5ffe4679fd18e9d8982643a3380e
parent: b71542dc13ea959ed2b42dab6ee9dfbb3444e274
author: Scott LaVarnway <slavarnway@google.com>
date: Wed Jun 5 10:45:08 EDT 2013

Fixed crash in VP8/CQTest

If the codec was configured with --enable-internal-stats,
a seg fault would occur.  This patch fixes the problem.

Change-Id: Id10a577973d185e93037c59e5b36bebdded327da

--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -5254,7 +5254,7 @@
 
         if (cm->show_frame)
         {
-
+            cpi->common.show_frame_mi = cpi->common.mi;
             cpi->count ++;
 
             if (cpi->b_calculate_psnr)
--