changeset 16037:1cf21d852747

Too little memory alloced.
author reimar
date Thu, 21 Jul 2005 17:03:43 +0000
parents ab9b25d60934
children 9915fd852e03
files libmpcodecs/ad_realaud.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_realaud.c	Thu Jul 21 14:03:52 2005 +0000
+++ b/libmpcodecs/ad_realaud.c	Thu Jul 21 17:03:43 2005 +0000
@@ -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;