diff libmpdemux/demux_viv.c @ 2809:b8e0d8204ff2

small fix
author pl
date Sun, 11 Nov 2001 01:35:43 +0000
parents 478202620831
children 3f8798f1f4bc
line wrap: on
line diff
--- a/libmpdemux/demux_viv.c	Sun Nov 11 01:18:40 2001 +0000
+++ b/libmpdemux/demux_viv.c	Sun Nov 11 01:35:43 2001 +0000
@@ -539,17 +539,17 @@
 void demux_close_vivo(demuxer_t *demuxer)
 {
     vivo_priv_t* priv=demuxer->priv;
-    
-    if (priv->title)
-	free(priv->title);
-    if (priv->author)
-	free(priv->author);
-    if (priv->copyright)
-	free(priv->copyright);
-    if (priv->producer)
-	free(priv->producer);
-    if (priv)
+ 
+    if (priv) {
+	if (priv->title)
+	    free(priv->title);
+        if (priv->author)
+	    free(priv->author);
+	if (priv->copyright)
+	    free(priv->copyright);
+	if (priv->producer)
+	   free(priv->producer);
 	free(priv);
-
+    }
     return;
 }