From: Scott LaVarnway Date: Wed, 5 Jun 2013 18:45:08 +0000 (-0400) Subject: Fixed crash in VP8/CQTest X-Git-Tag: v1.3.0~1114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec34afd1b0bc5ffe4679fd18e9d8982643a3380e;p=libvpx 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 --- diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 0892b06e9..3432f02ad 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)