diff options
author | wm4 <wm4@nowhere> | 2015-10-12 22:10:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-12 22:10:11 +0200 |
commit | 1f9c4f19cf05534287d572b2964f10079eec83d9 (patch) | |
tree | 8e0708ec07eadad51732f90b7026348f6d1961b9 /video/out/opengl/x11egl.c | |
parent | 8b291aff96b98a070f39c9a5082c365d4c3ba38c (diff) | |
download | mpv-1f9c4f19cf05534287d572b2964f10079eec83d9.tar.bz2 mpv-1f9c4f19cf05534287d572b2964f10079eec83d9.tar.xz |
vo_opengl: x11egl: fix confused error status codes
This is all kinds of wonderfully stupid.
Diffstat (limited to 'video/out/opengl/x11egl.c')
-rw-r--r-- | video/out/opengl/x11egl.c | 4 |
1 files 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) |