From 5b6eab01af32cdf886f0ae9fc1c50e3aa1584da2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 4 Nov 2013 01:20:11 +0100 Subject: vo_opengl: fix use of uninitialized memory Pretty bad, although it should actually not cause any misbehavior. Comes from the hardware decoding interop commit. --- video/out/gl_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out') 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; -- cgit v1.2.3