[MPlayer-cvslog] CVS: main/libmpcodecs ad_realaud.c,1.35,1.36

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Jul 21 19:03:45 CEST 2005


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	ad_realaud.c 
Log Message:
Too little memory alloced.


Index: ad_realaud.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_realaud.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ad_realaud.c	25 May 2005 08:48:31 -0000	1.35
+++ ad_realaud.c	21 Jul 2005 17:03:43 -0000	1.36
@@ -243,7 +243,7 @@
 #endif
       int i;
       // used by 'SIPR'
-      path = realloc(path, strlen(REALCODEC_PATH) + 12);
+      path = realloc(path, strlen(REALCODEC_PATH) + 13);
       sprintf(path, "DT_Codecs=" REALCODEC_PATH);
       if(path[strlen(path)-1]!='/'){
         path[strlen(path)+1]=0;




More information about the MPlayer-cvslog mailing list