vo_opengl: x11egl: fix confused error status codes

This is all kinds of wonderfully stupid.
This commit is contained in:
wm4 2015-10-12 22:10:11 +02:00
parent 8b291aff96
commit 1f9c4f19cf
1 changed files with 2 additions and 2 deletions

View File

@ -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)