diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-04 19:04:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-04 19:04:50 +0200 |
commit | 9672f127fdb9d98309f48b14148beb3bdd50ad6e (patch) | |
tree | 35af8eb52fac9f1cd3173219363f9b80ac36ec24 /video-ps3eye | |
parent | 0b8ef66106c2538c1ae0c8ea1078647244168b04 (diff) |
videp/ps3eye: fix buffer overflow
Diffstat (limited to 'video-ps3eye')
-rw-r--r-- | video-ps3eye/shm-layout.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video-ps3eye/shm-layout.hpp b/video-ps3eye/shm-layout.hpp index 8c770d43..9eee6db4 100644 --- a/video-ps3eye/shm-layout.hpp +++ b/video-ps3eye/shm-layout.hpp @@ -3,7 +3,7 @@ namespace ps3eye { -static constexpr unsigned num_channels = 1; +static constexpr unsigned num_channels = 3; struct shm_in { enum class mode : uint8_t { qvga, vga, }; |