Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
OpenImageIO
oiio_gcc6_missleading_indentation.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oiio_gcc6_missleading_indentation.patch of Package OpenImageIO
--- src/dpx.imageio/libdpx/Writer.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Index: oiio-Release-1.7.0dev/src/dpx.imageio/libdpx/Writer.cpp =================================================================== --- oiio-Release-1.7.0dev.orig/src/dpx.imageio/libdpx/Writer.cpp +++ oiio-Release-1.7.0dev/src/dpx.imageio/libdpx/Writer.cpp @@ -208,12 +208,12 @@ bool dpx::Writer::WriteElement(const int if (! this->WritePadData(0x2000)) return false; - // update file ptr - this->header.SetDataOffset(element, this->fileLoc); - this->fileLoc += count; - - // write - return (this->fd->Write(data, count) > 0); + // update file ptr + this->header.SetDataOffset(element, this->fileLoc); + this->fileLoc += count; + + // write + return (this->fd->Write(data, count) > 0); } @@ -244,9 +244,9 @@ bool dpx::Writer::WriteElement(const int return false; // The DPX spec recommends that the image data starts on a 8K boundry. - if (! this->WritePadData(0x2000)) + if (! this->WritePadData(0x2000)) { return false; - + } // mark location in headers if (element == 0) this->header.SetImageOffset(this->fileLoc);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor