changeset 11650:822e43fa5636

100l Fix audio decoding and random sig11
author rtognimp
date Mon, 15 Dec 2003 22:39:32 +0000
parents 52798caae526
children c94ee1c28a67
files libmpdemux/demux_viv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_viv.c	Mon Dec 15 20:06:26 2003 +0000
+++ b/libmpdemux/demux_viv.c	Mon Dec 15 22:39:32 2003 +0000
@@ -652,6 +652,7 @@
 		{
 		    mp_msg(MSGT_DEMUX, MSGL_ERR, "VIVO: Not support audio codec (%d)\n",
 			priv->audio_codec);
+		    free_sh_audio(sh);
 		    goto nosound;
 		}
 
@@ -713,7 +714,6 @@
 		sh->ds=demuxer->audio;
 		demuxer->audio->id=1;
 nosound:
-		free_sh_audio(sh);
 }
 }