Skip to content

Commit

Permalink
fix extra byte in DWA compressed data (#846)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
  • Loading branch information
peterhillman authored Oct 12, 2020
1 parent 84863e1 commit d3f0bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenEXR/IlmImf/ImfDwaCompressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2301,7 +2301,7 @@ DwaCompressor::compress

outPtr = _outBuffer;

return static_cast<int>(outDataPtr - _outBuffer + 1);
return static_cast<int>(outDataPtr - _outBuffer);
}


Expand Down

0 comments on commit d3f0bfe

Please sign in to comment.