From f4d65783593fd0490e0fdb9f323f2d5aff81a21d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 26 May 2019 11:06:01 +0200 Subject: [PATCH] test_decode_area.c: assign tdy to *ptileh instead of *ptilew (fixes #1195) --- tests/test_decode_area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_decode_area.c b/tests/test_decode_area.c index 59da86ae..777a8ce3 100644 --- a/tests/test_decode_area.c +++ b/tests/test_decode_area.c @@ -198,7 +198,7 @@ opj_image_t* decode( *ptilew = pCodeStreamInfo->tdx; } if (ptileh) { - *ptilew = pCodeStreamInfo->tdy; + *ptileh = pCodeStreamInfo->tdy; } //int numResolutions = pCodeStreamInfo->m_default_tile_info.tccp_info[0].numresolutions; if (pcblkw) {