]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fecdec_filter.c
string: Rename para_calloc() -> zalloc().
[paraslash.git] / fecdec_filter.c
index d7162adc64c172cece6573be3e6bd90112227a52..8efb2af7719d189723a52651cda95c84a8958e2d 100644 (file)
@@ -226,7 +226,7 @@ static int add_slice(char *buf, struct fecdec_group *fg)
        if (fg->num_slices == 0) {
                fg->num_slices = fg->h.slices_per_group;
                fg->idx = alloc(fg->num_slices * sizeof(int));
-               fg->data = para_calloc(fg->num_slices * sizeof(unsigned char *));
+               fg->data = zalloc(fg->num_slices * sizeof(unsigned char *));
        }
        r = fg->num_received_slices;
        /* Check if we already have this slice. */
@@ -471,7 +471,7 @@ out:
 static void fecdec_open(struct filter_node *fn)
 {
        struct private_fecdec_data *pfd;
-       pfd = para_calloc(sizeof(*pfd));
+       pfd = zalloc(sizeof(*pfd));
        fn->private_data = pfd;
        fn->min_iqs = FEC_HEADER_SIZE;
 }