X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=audiod.c;h=7c223995a9a29cec3c8e8ae5497c3be58655f63c;hb=40cc79f4b4db41da0355ff230f301422351fcfbe;hp=0e8e5981085b7d05b8a2a08f35a9bb7944a4d72d;hpb=ac03b19b1693fbb7b1d558989ac81c79ed1284ae;p=paraslash.git diff --git a/audiod.c b/audiod.c index 0e8e5981..7c223995 100644 --- a/audiod.c +++ b/audiod.c @@ -290,7 +290,7 @@ static int get_play_time_slot_num(void) * * \return A string that must be freed by the caller. */ -char *get_time_string(void) +__malloc char *get_time_string(void) { int ret, seconds = 0, length = stat_task->length_seconds; struct timeval *tmp, sum, sss, /* server stream start */ @@ -958,7 +958,7 @@ static int init_default_filters(void) */ if (strcmp(name, "udp") == 0 || strcmp(name, "dccp") == 0) { tmp = para_strdup("fecdec"); - add_filter(i, tmp); + ret = add_filter(i, tmp); free(tmp); if (ret < 0) goto out;