]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aac_afh.c
string: Rename para_malloc() -> alloc().
[paraslash.git] / aac_afh.c
index 5c1225b62b2e179026dadf7638d4f44f041345cb..c4081f056203a416cbbe86ab1600da1969713d7b 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -78,7 +78,7 @@ static int32_t aac_afh_get_track(mp4ff_t *mp4ff, mp4AudioSpecificConfig *masc)
 static int aac_afh_open(const void *map, size_t mapsize, void **afh_context)
 {
        int ret;
-       struct aac_afh_context *c = para_malloc(sizeof(*c));
+       struct aac_afh_context *c = alloc(sizeof(*c));
 
        c->map = map;
        c->mapsize = mapsize;
@@ -282,7 +282,7 @@ static int aac_afh_rewrite_tags(const char *map, size_t mapsize,
        metadata.count = rv;
        PARA_NOTICE_LOG("%d metadata item(s) found\n", rv);
 
-       metadata.tags = para_malloc((metadata.count + 5) * sizeof(mp4ff_tag_t));
+       metadata.tags = alloc((metadata.count + 5) * sizeof(mp4ff_tag_t));
        for (i = 0; i < metadata.count; i++) {
                mp4ff_tag_t *tag = metadata.tags + i;