diff mplayer.c @ 32537:8fa2f43cb760

Remove most of the NULL pointer check before free all over the code
author cboesch
date Sun, 14 Nov 2010 09:12:34 +0000
parents b39155e98ac3
children 18338ee51c9d
line wrap: on
line diff
--- a/mplayer.c	Sat Nov 13 10:23:34 2010 +0000
+++ b/mplayer.c	Sun Nov 14 09:12:34 2010 +0000
@@ -1152,8 +1152,7 @@
 }
 
 void init_vo_spudec(void) {
-  if (vo_spudec)
-    spudec_free(vo_spudec);
+  spudec_free(vo_spudec);
   vo_spudec = NULL;
 
   // we currently can't work without video stream