diff options
Diffstat (limited to 'libmpdemux/demux_viv.c')
-rw-r--r-- | libmpdemux/demux_viv.c | 22 |
1 files 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; } |