update patch to match older api

Resolves: RHEL-17337
This commit is contained in:
Michal Hlavinka 2025-04-30 13:36:25 +02:00
parent 2ffbd59c12
commit 491b3c94fa

View File

@ -18,7 +18,7 @@ index 41f7dfd77..6fee35db2 100644
+ if (row >= img.height)
+ {
+ TIFFErrorExtR(tif, TIFFFileName(tif),
+ TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif),
+ "Invalid row passed to TIFFReadRGBAStrip().");
+ TIFFRGBAImageEnd(&img);
+ return (0);
@ -33,7 +33,7 @@ index 41f7dfd77..6fee35db2 100644
+ if (col >= img.width || row >= img.height)
+ {
+ TIFFErrorExtR(tif, TIFFFileName(tif),
+ TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif),
+ "Invalid row/col passed to TIFFReadRGBATile().");
+ TIFFRGBAImageEnd(&img);
+ return (0);