mirror of
https://github.com/mpv-player/mpv
synced 2025-02-22 07:46:55 +00:00
Not checking it caused SIGSEV when uninitning after vesa init failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8787 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e6e0f6674f
commit
43b0b8d4bf
@ -991,6 +991,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
|
||||
static void
|
||||
uninit(void)
|
||||
{
|
||||
// not inited
|
||||
if (!init_state) return;
|
||||
vesa_term();
|
||||
if(verbose > 2)
|
||||
printf("vo_vesa: uninit was called\n");
|
||||
|
Loading…
Reference in New Issue
Block a user