[libcamera-devel] [PATCH] qcam: viewfinder_gl: selectColorSpace: fix maybe uninitialized warning

Marco Felsch m.felsch at pengutronix.de
Fri Sep 2 16:42:55 CEST 2022


Hi Laurent,

On 22-09-02, Laurent Pinchart wrote:
> Hi Marco,
> 
> Thank you for the patch.
> 
> On Fri, Sep 02, 2022 at 04:11:36PM +0200, Marco Felsch via libcamera-devel wrote:
> > Fix gcc11 warning introduced in commit 251f0534 ("qcam: viewfinder_gl:
> > Take color space into account for YUV rendering"). Fix it by making the
> > full range as default.
> 
> What exact compiler version are you using ? gcc 11.3.0 compiles the code
> fine here. It seems to be a false positive, but if it causes breakages,
> we of course want to fix/work around the problem.

Arg.. I'm using 11.1.1 from the official OSELAS.Toolchain-2021.07.0
cross-toolchain. So it seems my gcc-11 is to old.

Regards,
  Marco


More information about the libcamera-devel mailing list