summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-02 20:16:57 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-02 20:16:57 +0000
commit2feef89fceaea12b75efee387f7aceb5dd4e5148 (patch)
tree80c41ba4762f5bead765dc6d3ce343f60b3bee61 /libvo
parentb336a261bffb8ad1bc88cf428dbb02534a4acfd7 (diff)
downloadmpv-2feef89fceaea12b75efee387f7aceb5dd4e5148.tar.bz2
mpv-2feef89fceaea12b75efee387f7aceb5dd4e5148.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c1
1 files changed, 0 insertions, 1 deletions
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;