mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 04:25:19 +00:00
CppCheck: Orz. fix out-bound reference of NONZEROCOEFFS in CellCameraAttributes.
This commit is contained in:
parent
952098c00f
commit
30acfb89c3
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue