[Mplayer-cvslog] CVS: main/libmpcodecs ad_acm.c,1.6,1.7

Alex Beregszaszi alex at mplayerhq.hu
Fri Sep 13 23:52:34 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv24317

Modified Files:
	ad_acm.c 
Log Message:
fixed to comply with new loader

Index: ad_acm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_acm.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ad_acm.c	1 Sep 2002 17:11:10 -0000	1.6
+++ ad_acm.c	13 Sep 2002 21:52:31 -0000	1.7
@@ -82,7 +82,7 @@
 	print_wave_header(priv->o_wf);
     }
 
-    win32_codec_name = sh_audio->codec->dll;
+    MSACM_RegisterDriver((const char *)sh_audio->codec->dll, in_fmt->wFormatTag, 0);
     ret = acmStreamOpen(&priv->handle, (HACMDRIVER)NULL, in_fmt,
 			priv->o_wf, NULL, 0, 0, 0);
     if (ret)
@@ -150,7 +150,7 @@
 	    return(0);
     }
     
-//    MSACM_UnregisterAllDrivers();
+    MSACM_UnregisterAllDrivers();
 
     free(priv->o_wf);
     free(priv);




More information about the MPlayer-cvslog mailing list