Searched refs:chanmap_size (Results 1 – 2 of 2) sorted by relevance
813 …{ size_t chanmap_size = SF_MIN (psf->sf.channels, layout_tag & 0xff) * sizeof (psf->channel_map [0… in caf_read_chanmap() local817 if ((psf->channel_map = malloc (chanmap_size)) == NULL) in caf_read_chanmap()820 memcpy (psf->channel_map, map_info->channel_map, chanmap_size) ; in caf_read_chanmap()
1776 …{ size_t chanmap_size = SF_MIN (psf->sf.channels, layout_tag & 0xffff) * sizeof (psf->channel_map … in aiff_read_chanmap() local1780 if ((psf->channel_map = malloc (chanmap_size)) == NULL) in aiff_read_chanmap()1783 memcpy (psf->channel_map, map_info->channel_map, chanmap_size) ; in aiff_read_chanmap()