diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/w32_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index ad8d1f453b..ebe17bd154 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -742,6 +742,8 @@ void vo_w32_uninit(struct vo *vo) { struct vo_w32_state *w32 = vo->w32; mp_msg(MSGT_VO, MSGL_V, "vo: win32: uninit\n"); + if (!w32) + return; resetMode(vo); ShowCursor(1); if (w32->dev_hdc) DeleteDC(w32->dev_hdc); |