diff options
Diffstat (limited to 'src/cam/sdl_texture_mjpg.h')
-rw-r--r-- | src/cam/sdl_texture_mjpg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cam/sdl_texture_mjpg.h b/src/cam/sdl_texture_mjpg.h index 328c45a9..5141ed73 100644 --- a/src/cam/sdl_texture_mjpg.h +++ b/src/cam/sdl_texture_mjpg.h @@ -14,10 +14,10 @@ class SDLTextureMJPG : public SDLTexture public: SDLTextureMJPG(const SDL_Rect &rect); - void update(const libcamera::Span<uint8_t> &data) override; + void update(libcamera::Span<const uint8_t> data) override; private: - int decompress(const libcamera::Span<uint8_t> &data); + int decompress(libcamera::Span<const uint8_t> data); std::unique_ptr<unsigned char[]> rgb_; }; |