mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 22:14:58 +00:00
CppCheck: Orz. fix out-bound reference of NONZEROCOEFFS in CellCameraAttributes.
This commit is contained in:
parent
952098c00f
commit
30acfb89c3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user