From 62a7fd6bda145ca3bba0c87102a77e03b5d11037 Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Wed, 4 Jun 2014 10:52:59 -0700 Subject: Wrong variable assignment in Pdfium. CID=115579 Original patch by Finnur Thorarinsson --- core/src/fxcodec/codec/fx_codec_jpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/fxcodec/codec/fx_codec_jpeg.cpp') diff --git a/core/src/fxcodec/codec/fx_codec_jpeg.cpp b/core/src/fxcodec/codec/fx_codec_jpeg.cpp index 5e78e134aa..b0a6bd49a8 100644 --- a/core/src/fxcodec/codec/fx_codec_jpeg.cpp +++ b/core/src/fxcodec/codec/fx_codec_jpeg.cpp @@ -411,7 +411,7 @@ FX_BOOL CCodec_JpegDecoder::InitDecode() m_OrigWidth = cinfo.image_width; m_OrigHeight = cinfo.image_height; m_OutputWidth = m_OrigWidth; - m_OutputHeight = m_OutputHeight; + m_OutputHeight = m_OrigHeight; m_nDefaultScaleDenom = cinfo.scale_denom; return TRUE; } -- cgit v1.2.3