Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Update
pfstools
pfstools-1.8.1-fix-return-in-nonvoid.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pfstools-1.8.1-fix-return-in-nonvoid.patch of Package pfstools
Index: pfstools-2.1.0/src/hdrhtml/hdrhtml.cpp =================================================================== --- pfstools-2.1.0.orig/src/hdrhtml/hdrhtml.cpp +++ pfstools-2.1.0/src/hdrhtml/hdrhtml.cpp @@ -197,6 +197,7 @@ public: this->y_i = new float[lut_size]; own_y_i = true; memcpy(this->y_i, other.y_i, lut_size * sizeof(float)); + return *this; } ~UniformArrayLUT() Index: pfstools-2.1.0/src/fileformat/pfsoutyuv.cpp =================================================================== --- pfstools-2.1.0.orig/src/fileformat/pfsoutyuv.cpp +++ pfstools-2.1.0/src/fileformat/pfsoutyuv.cpp @@ -215,7 +215,7 @@ class YUVWriter { } template<typename T> - bool writeYuvImage(pfs::Array2D *R, pfs::Array2D *G, pfs::Array2D *B){ + void writeYuvImage(pfs::Array2D *R, pfs::Array2D *G, pfs::Array2D *B){ //writes the entire image to fh R - Luminance, G - Cr, B - Cb unsigned int width_chroma = R->getCols(); unsigned int height_chroma = R->getRows(); Index: pfstools-2.1.0/src/pfs/pfsutils.cpp =================================================================== --- pfstools-2.1.0.orig/src/pfs/pfsutils.cpp +++ pfstools-2.1.0/src/pfs/pfsutils.cpp @@ -57,6 +57,8 @@ string getColorspaceString(ColorSpace cs return "HLG YCbCr 2020"; case CS_RGB2020: return "RGB2020"; + default: + __builtin_unreachable(); } }
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