Skip to content

Commit a167a44

Browse files
committed
Address codeChecker findings
1 parent a9dbfad commit a167a44

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/librawspeed/decompressors/LJpegDecoder.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
*/
2121

2222
#include "decompressors/LJpegDecoder.h"
23+
#include "adt/Array1DRef.h"
2324
#include "adt/Casts.h"
2425
#include "adt/Invariant.h"
2526
#include "adt/Point.h"
@@ -106,8 +107,9 @@ decodeStandardScan(const ScanSettings& settings, iPoint2D mcuSize,
106107
return d.decode();
107108
}
108109

109-
void copyDeinterleavedRows(const RawImage& raw, RawImage tmpRaw, uint32_t offX,
110-
uint32_t offY, uint32_t tileWidth, int widthPack) {
110+
void copyDeinterleavedRows(const RawImage& raw, const RawImage& tmpRaw,
111+
uint32_t offX, uint32_t offY, uint32_t tileWidth,
112+
int widthPack) {
111113
const auto tmpData = tmpRaw->getU16DataAsUncroppedArray2DRef();
112114
const auto outData = raw->getU16DataAsUncroppedArray2DRef();
113115

0 commit comments

Comments
 (0)