From 08effeaad5a82f949ae516a80ec2320ef8bd046d Mon Sep 17 00:00:00 2001 From: Zoe Liu Date: Wed, 8 Jul 2015 12:12:47 -0700 Subject: [PATCH] A small code cleanup for the encoder workflow. Change-Id: I543a69ad5a34cd9a0671b57131cafc541d595d9a --- vp9/encoder/vp9_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index c79088c0e..6c9e118a5 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -3835,7 +3835,7 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags, if (cpi->b_calculate_psnr) { YV12_BUFFER_CONFIG *orig = cpi->Source; - YV12_BUFFER_CONFIG *recon = cpi->common.frame_to_show; + YV12_BUFFER_CONFIG *recon = cm->frame_to_show; YV12_BUFFER_CONFIG *pp = &cm->post_proc_buffer; PSNR_STATS psnr; #if CONFIG_VP9_HIGHBITDEPTH -- 2.50.0