Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:malloc

45 #include <stdlib.h> /* for malloc() */
313 if(0 == (decoder->private_->metadata_filter_ids = (FLAC__byte*)malloc((FLAC__STREAM_METADATA_APPLICATION_ID_LEN/8) * decoder->private_->metadata_filter_ids_capacity))) {
1506 if(0 == (block.data.application.data = (FLAC__byte*)malloc(real_length))) {
1534 if(0 == (block.data.unknown.data = (FLAC__byte*)malloc(real_length))) {
1548 /* now we have to free any malloc()ed data in the block */