mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08: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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user