[MPlayer-cvslog] CVS: main/libmpcodecs ad_mpc.c,1.2,1.3

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Jul 22 13:17:07 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv20922

Modified Files:
	ad_mpc.c 
Log Message:
guard against double uninit (reportedly can happen on STRG+C)


Index: ad_mpc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_mpc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ad_mpc.c	10 Jul 2005 19:17:00 -0000	1.2
+++ ad_mpc.c	22 Jul 2005 11:17:05 -0000	1.3
@@ -100,6 +100,7 @@
 static void uninit(sh_audio_t *sh) {
   if (sh->context)
     free(sh->context);
+  sh->context = NULL;
 }
 
 static int init(sh_audio_t *sh) {




More information about the MPlayer-cvslog mailing list