mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
vo_opengl: fix use of uninitialized memory
Pretty bad, although it should actually not cause any misbehavior. Comes from the hardware decoding interop commit.
This commit is contained in:
parent
25affdcc88
commit
5b6eab01af
@ -1204,7 +1204,7 @@ static void set_image_textures(struct gl_video *p, struct video_image *vimg,
|
||||
GLuint imgtex[4])
|
||||
{
|
||||
GL *gl = p->gl;
|
||||
GLuint dummy[4];
|
||||
GLuint dummy[4] = {0};
|
||||
if (!imgtex)
|
||||
imgtex = dummy;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user