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:
wm4 2013-11-04 01:20:11 +01:00
parent 25affdcc88
commit 5b6eab01af
1 changed files with 1 additions and 1 deletions

View File

@ -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;