From 1f9c4f19cf05534287d572b2964f10079eec83d9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 12 Oct 2015 22:10:11 +0200 Subject: vo_opengl: x11egl: fix confused error status codes This is all kinds of wonderfully stupid. --- video/out/opengl/x11egl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/opengl/x11egl.c b/video/out/opengl/x11egl.c index 4999dc5a4b..af167910ce 100644 --- a/video/out/opengl/x11egl.c +++ b/video/out/opengl/x11egl.c @@ -166,11 +166,11 @@ static int mpegl_init(struct MPGLContext *ctx, int flags) goto uninit; } - return true; + return 0; uninit: mpegl_uninit(ctx); - return false; + return -1; } static int mpegl_reconfig(struct MPGLContext *ctx) -- cgit v1.2.3