[GRASS-SVN] r67952 - grass/trunk/lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 25 13:08:00 PST 2016


Author: mmetz
Date: 2016-02-25 13:08:00 -0800 (Thu, 25 Feb 2016)
New Revision: 67952

Modified:
   grass/trunk/lib/raster/get_row.c
Log:
libraster: complete r67943

Modified: grass/trunk/lib/raster/get_row.c
===================================================================
--- grass/trunk/lib/raster/get_row.c	2016-02-25 18:11:35 UTC (rev 67951)
+++ grass/trunk/lib/raster/get_row.c	2016-02-25 21:08:00 UTC (rev 67952)
@@ -843,7 +843,8 @@
 		      row, fcb->name);
     }
 
-    if (G_expand(compressed_buf, readamount, flags, size, fcb->cellhd.compressed) < 1) {
+    /* null bits file compressed with LZ4, see lib/gis/compress.h */
+    if (G_expand(compressed_buf, readamount, flags, size, 3) < 1) {
 	G_fatal_error(_("Error uncompressing null data for row %d of <%s>"),
 		      row, fcb->name);
     }



More information about the grass-commit mailing list