changeset 2809:b8e0d8204ff2

small fix
author pl
date Sun, 11 Nov 2001 01:35:43 +0000
parents a78ac799a300
children 1f0bcdb49910
files libmpdemux/demux_viv.c
diffstat 1 files changed, 11 insertions(+), 11 deletions(-) [+]
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;
 }