From ff534f0810c4191fdafb859be2ff95bf217fdc4f Mon Sep 17 00:00:00 2001 From: pl Date: Sun, 11 Nov 2001 01:35:43 +0000 Subject: [PATCH] small fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2810 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_viv.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libmpdemux/demux_viv.c b/libmpdemux/demux_viv.c index 9df785cbb1..f1318d44d1 100644 --- a/libmpdemux/demux_viv.c +++ b/libmpdemux/demux_viv.c @@ -539,17 +539,17 @@ if(demuxer->audio->id>=-1){ 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; }