Skip to content
Snippets Groups Projects
Commit c881d9e5 authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

filter: egl_surfacetexture: add missing NULL check

parent a2acd45c
No related branches found
No related tags found
1 merge request!7027libvlc: add libvlc_video_engine_anw support
......@@ -129,6 +129,8 @@ static picture_context_t *CreatePictureContext(vlc_gl_t *gl)
struct video_ctx *vctx = GetVCtx(gl);
ctx->texture = vlc_asurfacetexture_New(gl->device->opaque, false);
if (ctx->texture == NULL)
goto error;
struct ANativeWindow *window = ctx->texture->window;
native_window_api_t *api =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment