Skip to content

Commit

Permalink
Use args for guardec compression.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jan 28, 2021
1 parent 482ae70 commit 98b815c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io/LasReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void LasReader::ready(PointTableRef table)
#endif

#ifdef PDAL_HAVE_LAZPERF
if (m_compression == "LAZPERF")
if (m_args->m_compression == "LAZPERF")
{
delete m_p->decompressor;

Expand Down Expand Up @@ -658,7 +658,7 @@ bool LasReader::processOne(PointRef& point)
#endif

#ifdef PDAL_HAVE_LAZPERF
if (m_compression == "LAZPERF")
if (m_args->m_compression == "LAZPERF")
{
m_p->decompressor->decompress(m_p->decompressorBuf.data());
loadPoint(point, m_p->decompressorBuf.data(), pointLen);
Expand Down

0 comments on commit 98b815c

Please sign in to comment.