From ec34afd1b0bc5ffe4679fd18e9d8982643a3380e Mon Sep 17 00:00:00 2001 From: Scott LaVarnway Date: Wed, 5 Jun 2013 14:45:08 -0400 Subject: [PATCH] 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 --- vp8/encoder/onyx_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 0892b06..3432f02 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -5254,7 +5254,7 @@ int vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, unsigned l if (cm->show_frame) { - + cpi->common.show_frame_mi = cpi->common.mi; cpi->count ++; if (cpi->b_calculate_psnr) -- 2.7.4