if(dpm.encoding & PE_16BIT) { if(write_u16((uint16)16) == -1) return -1; } else { if(write_u16((uint16)8) == -1) return -1; } 
if(dpm.encoding & PE_24BIT) t = 24; else if(dpm.encoding & PE_16BIT) t = 16; else t = 8; if(write_u16((uint16)t) == -1) return -1; 
static int aiff_output_open(const char *fname){  if(strcmp(fname, "-") == 0) {    dpm.fd = 1; /* data to stdout */  } else {    /* Open the audio file */    dpm.fd = open(fname, FILE_OUTPUT_MODE);    if(dpm.fd < 0) {      ctl->cmsg(CMSG_ERROR, VERB_NORMAL, "%s: %s",		fname, strerror(errno));      return -1;    }  }  /* magic */  if(write_str("FORM") == -1) return -1;  /* file size - 8 (dmy) */  if(write_u32((uint32)0xffffffff) == -1) return -1;  /* chunk start tag */  if(write_str("AIFF") == -1) return -1;  /* COMM chunk */  if(chunk_start("COMM", 18) == -1) return -1;  /* number of channels */  if(dpm.encoding & PE_MONO) {    if(write_u16((uint16)1) == -1) return -1;  } else {    if(write_u16((uint16)2) == -1) return -1;  }  /* number of frames (dmy) */  if(write_u32((uint32)0xffffffff) == -1) return -1;  /* bits per sample */  if(dpm.encoding & PE_16BIT) {    if(write_u16((uint16)16) == -1) return -1;  } else {    if(write_u16((uint16)8) == -1) return -1;  }  /* sample rate */  if(write_ieee_80bitfloat((double)dpm.rate) == -1) return -1;  /* SSND chunk */  if(chunk_start("SSND", (int32)0xffffffff) == -1) return -1;  /* offset */  if(write_u32((uint32)0) == -1) return -1;  /* block size */  if(write_u32((uint32)0) == -1) return -1;  return 0;}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/b28ed5f84d8a7baee52cb30f237c2f415cbcf570/aiff_a.c/buggy/timidity/aiff_a.c