mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-25 12:20:20 +00:00
vo_opengl: x11egl: fix confused error status codes
This is all kinds of wonderfully stupid.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user