CppCheck: Orz. fix out-bound reference of NONZEROCOEFFS in CellCameraAttributes.
This commit is contained in:
@@ -314,7 +314,8 @@ struct CellCameraAttributes
|
||||
u32 LED;
|
||||
u32 AUDIOGAIN;
|
||||
u32 QS;
|
||||
u32 NONZEROCOEFFS[1];
|
||||
// Syphurith: Found using cppcheck. This is originally stated as an single-element array, however references its [0] and [1]. So i changed this to 2 u32 units.
|
||||
u32 NONZEROCOEFFS[2];
|
||||
u32 YUVFLAG;
|
||||
u32 JPEGFLAG;
|
||||
u32 BACKLIGHTCOMP;
|
||||
|
||||
Reference in New Issue
Block a user