diff --git a/video/out/gl_video.c b/video/out/gl_video.c index b376fead36..b2aaed690c 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -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;