From: Zoe Liu Date: Wed, 8 Jul 2015 19:12:47 +0000 (-0700) Subject: A small code cleanup for the encoder workflow. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08effeaad5a82f949ae516a80ec2320ef8bd046d;p=libvpx A small code cleanup for the encoder workflow. Change-Id: I543a69ad5a34cd9a0671b57131cafc541d595d9a --- 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