From 580f5dc88e3cbe8ed08661b829e2f560870e8b71 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 29 Jan 2018 15:20:36 +0000 Subject: Remove duplicate assignments in sycc420_to_rgb(). BUG=chromium:805881 Change-Id: I3b4914325833c859285a4af1f6e326872cbf1b18 Reviewed-on: https://pdfium-review.googlesource.com/24091 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fxcodec/codec/fx_codec_jpx_opj.cpp | 4 ---- 1 file changed, 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; -- cgit v1.2.3