diff --git a/Code/IO/otbGDALImageIO.cxx b/Code/IO/otbGDALImageIO.cxx index 5b28202c049904cdd35ea1c99bb1449e128968f3..30a9be995378028f47d3b21476df1dbb4ac80199 100644 --- a/Code/IO/otbGDALImageIO.cxx +++ b/Code/IO/otbGDALImageIO.cxx @@ -316,13 +316,13 @@ void GDALImageIO::Read(void* buffer) // if the file is complex and the reader is based on a vector of scalar if(GDALDataTypeIsComplex(m_PxType) && !m_IsComplex && m_IsVectorImage) { - m_BytePerPixel = m_BytePerPixel * 2 ; + m_BytePerPixel = m_BytePerPixel * 2; m_NbBands = this->GetNumberOfComponents() / 2; } // if the file is scalar with only one band and the reader is based on a vector of complex if(!GDALDataTypeIsComplex(m_PxType) && (m_NbBands == 1) && m_IsComplex && m_IsVectorImage ) { - m_BytePerPixel = m_BytePerPixel / 2 ; + m_BytePerPixel = m_BytePerPixel / 2; } // keep it for the moment