mirror of https://github.com/mpv-player/mpv
vo_opengl: x11egl: fix confused error status codes
This is all kinds of wonderfully stupid.
This commit is contained in:
parent
8b291aff96
commit
1f9c4f19cf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue