# HG changeset patch # User rtognimp # Date 1071527972 0 # Node ID 822e43fa56362a60d1cc0480f2a775be2124a406 # Parent 52798caae526fa3aea49020b65b272d6da6a77f9 100l Fix audio decoding and random sig11 diff -r 52798caae526 -r 822e43fa5636 libmpdemux/demux_viv.c --- 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); } }