summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-06-04 10:52:59 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-06-04 10:54:04 -0700
commit62a7fd6bda145ca3bba0c87102a77e03b5d11037 (patch)
treea4a265705511eb7f54283ab3f318ea2d08b471f5 /core
parentdbd4c06036f42d8dffe033ba112d6d7085dfe475 (diff)
downloadpdfium-62a7fd6bda145ca3bba0c87102a77e03b5d11037.tar.xz
Wrong variable assignment in Pdfium.
CID=115579 Original patch by Finnur Thorarinsson <finnur@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/src/fxcodec/codec/fx_codec_jpeg.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}