Skip to content
Snippets Groups Projects
Commit 478e4dac authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Rémi Denis-Courmont
Browse files

libplacebo: display: use array for planes

vlc_placebo_PlaneData is expecting an array of four elements. Not
complying to this results in the following warning, even if the code is
not making use of the other planes.

../../modules/video_output/libplacebo/display.c:369:18: warning: ‘vlc_placebo_PlaneData’ accessing 480 bytes in a region of size 120 [-Wstringop-overflow=]
  369 |             if (!vlc_placebo_PlaneData(r->p_picture, &subdata, NULL))
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parent c656cda7
No related branches found
No related tags found
Loading
Pipeline #163696 passed with stages
in 33 minutes and 36 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment