diff options
Diffstat (limited to 'va/glx/va_glx_impl.c')
-rw-r--r-- | va/glx/va_glx_impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/va/glx/va_glx_impl.c b/va/glx/va_glx_impl.c index 23ea270..a3c7697 100644 --- a/va/glx/va_glx_impl.c +++ b/va/glx/va_glx_impl.c @@ -939,7 +939,7 @@ static VAStatus vaDestroySurfaceGLX_impl_libva(VADriverContextP ctx, void *gl_surface) { VASurfaceGLXP pSurfaceGLX; - struct OpenGLContextState old_cs, *new_cs; + struct OpenGLContextState old_cs = {0}, *new_cs; INIT_SURFACE(pSurfaceGLX, gl_surface); @@ -1072,7 +1072,7 @@ vaCopySurfaceGLX_impl_libva( { VASurfaceGLXP pSurfaceGLX; VAStatus status; - struct OpenGLContextState old_cs; + struct OpenGLContextState old_cs = {0}; INIT_SURFACE(pSurfaceGLX, gl_surface); |