summaryrefslogtreecommitdiff
path: root/src/xine-utils/utils.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-12 20:55:44 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-12 20:55:44 +0100
commitcf6f5debd57c2cba3ad63a8d697d656b54cb94da (patch)
tree78ee79fe789069dc6827fef2b92668f502434177 /src/xine-utils/utils.c
parentecd1d68fa6221278496fedef976acf72888de6e0 (diff)
downloadxine-lib-cf6f5debd57c2cba3ad63a8d697d656b54cb94da.tar.gz
xine-lib-cf6f5debd57c2cba3ad63a8d697d656b54cb94da.tar.bz2
Fix up reporting of supported formats by the ALSA & OSS output plugins.
Adjust translations for the spacing changes etc. which this introduces.
Diffstat (limited to 'src/xine-utils/utils.c')
-rw-r--r--src/xine-utils/utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c
index 9f5d122cb..f533d69e5 100644
--- a/src/xine-utils/utils.c
+++ b/src/xine-utils/utils.c
@@ -692,3 +692,11 @@ int xine_monotonic_clock(struct timeval *tv, struct timezone *tz)
#endif
}
+
+char *xine_strcat_realloc (char **dest, char *append)
+{
+ char *newstr = realloc (*dest, (*dest ? strlen (*dest) : 0) + strlen (append) + 1);
+ if (newstr)
+ strcat (*dest = newstr, append);
+ return newstr;
+}