From 2feef89fceaea12b75efee387f7aceb5dd4e5148 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 2 Feb 2010 20:16:57 +0000 Subject: [PATCH] Remove vo_config_count check from uninit, it should always be safe to run. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30487 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 16bb1b9328..9221f86c73 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -993,7 +993,6 @@ query_format(uint32_t format) static void uninit(void) { - if (!vo_config_count) return; uninitGl(); if (custom_prog) free(custom_prog); custom_prog = NULL;