Skip to content

Commit b2dda8f

Browse files
committed
Fix the uninitialized pixelType issue
Signed-off-by: Liang <xiaoxia.liang@intel.com>
1 parent f27aefa commit b2dda8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Library/Raisr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ RNLERRORTYPE processSegment(VideoDataType *srcY, VideoDataType *final_outY, Blen
10531053
endRow = endRow > (rows - gLoopMargin) ? (rows - gLoopMargin) : endRow;
10541054

10551055
alignas(64) float GTWG[3][16];
1056-
alignas(64) int pixelType[unrollSizePatchBased]; //= {0, 0, 0, 0, 0, 0, 0, 0};
1056+
alignas(64) int pixelType[unrollSizePatchBased] = {0};
10571057
alignas(64) int hashValue[unrollSizePatchBased];
10581058
alignas(64) const float *fbase[unrollSizePatchBased];
10591059
alignas(64) float pixbuf[unrollSizePatchBased][128] __attribute__((aligned(64)));

0 commit comments

Comments
 (0)