summaryrefslogtreecommitdiff
path: root/core/fxcodec
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-29 15:20:36 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-29 15:20:36 +0000
commit580f5dc88e3cbe8ed08661b829e2f560870e8b71 (patch)
tree99bf818ef1c9e5cd1c3de939173fd0ba09fff2de /core/fxcodec
parent735408ee262bd6783923011042b6ecd6b76ec835 (diff)
downloadpdfium-580f5dc88e3cbe8ed08661b829e2f560870e8b71.tar.xz
Remove duplicate assignments in sycc420_to_rgb().
BUG=chromium:805881 Change-Id: I3b4914325833c859285a4af1f6e326872cbf1b18 Reviewed-on: https://pdfium-review.googlesource.com/24091 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcodec')
-rw-r--r--core/fxcodec/codec/fx_codec_jpx_opj.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fxcodec/codec/fx_codec_jpx_opj.cpp b/core/fxcodec/codec/fx_codec_jpx_opj.cpp
index 89c512390d..97d692c30b 100644
--- a/core/fxcodec/codec/fx_codec_jpx_opj.cpp
+++ b/core/fxcodec/codec/fx_codec_jpx_opj.cpp
@@ -417,10 +417,6 @@ void sycc420_to_rgb(opj_image_t* img) {
img->comps[1].h = yh;
img->comps[2].w = yw;
img->comps[2].h = yh;
- img->comps[1].w = yw;
- img->comps[1].h = yh;
- img->comps[2].w = yw;
- img->comps[2].h = yh;
img->comps[1].dx = img->comps[0].dx;
img->comps[2].dx = img->comps[0].dx;
img->comps[1].dy = img->comps[0].dy;