test_decode_area.c: assign tdy to *ptileh instead of *ptilew (fixes #1195)

This commit is contained in:
Even Rouault 2019-05-26 11:06:01 +02:00
parent 9b7620ee7a
commit f4d6578359
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ opj_image_t* decode(
*ptilew = pCodeStreamInfo->tdx; *ptilew = pCodeStreamInfo->tdx;
} }
if (ptileh) { if (ptileh) {
*ptilew = pCodeStreamInfo->tdy; *ptileh = pCodeStreamInfo->tdy;
} }
//int numResolutions = pCodeStreamInfo->m_default_tile_info.tccp_info[0].numresolutions; //int numResolutions = pCodeStreamInfo->m_default_tile_info.tccp_info[0].numresolutions;
if (pcblkw) { if (pcblkw) {