Skip to content

Commit

Permalink
remove extraneous vector allocation in getScanlineChunkOffsetTableSize
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 and cary-ilm committed Aug 9, 2020
1 parent 7da32d3 commit 485b5fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions OpenEXR/IlmImf/ImfMisc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1886,9 +1886,6 @@ getScanlineChunkOffsetTableSize(const Header& header)
{
const Box2i &dataWindow = header.dataWindow();

vector<size_t> bytesPerLine;
bytesPerLineTable (header, bytesPerLine);

int linesInBuffer = numLinesInBuffer ( header.compression() );

int lineOffsetSize = (dataWindow.max.y - dataWindow.min.y +
Expand Down

0 comments on commit 485b5fe

Please sign in to comment.