Skip to content

Commit

Permalink
gdal_fillnodata.py/GDALFillNodata: fix crash when smooth_iterations i…
Browse files Browse the repository at this point in the history
…s used, and with some progress functions such as the one used by Python (fixes #1184)
  • Loading branch information
rouault committed Jan 7, 2020
1 parent 363c12b commit 47fc596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdal/alg/rasterfill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ GDALFillNodata( GDALRasterBandH hTargetBand,
GDALFlushRasterCache( hMaskBand );

void *pScaledProgress =
GDALCreateScaledProgress( dfProgressRatio, 1.0, pfnProgress, nullptr );
GDALCreateScaledProgress( dfProgressRatio, 1.0, pfnProgress, pProgressArg );

eErr = GDALMultiFilter( hTargetBand, hMaskBand, hFiltMaskBand,
nSmoothingIterations,
Expand Down

0 comments on commit 47fc596

Please sign in to comment.