Searched refs:comments_bytes (Results 1 – 1 of 1) sorted by relevance
27 uint32_t headers_bytes, num_channels, comments_bytes; in startread() local46 lsx_readdw(ft, &comments_bytes)) in startread()50 comments_bytes > 0x40000000 || /* max 1 GB */ in startread()51 headers_bytes < FIXED_HDR + comments_bytes || in startread()57 if (comments_bytes) { in startread()58 char * buf = lsx_calloc(1, (size_t)comments_bytes + 1); /* ensure nul-terminated */ in startread()59 if (lsx_readchars(ft, buf, (size_t)comments_bytes) != SOX_SUCCESS) { in startread()70 lsx_seeki(ft, (off_t)(headers_bytes - FIXED_HDR - comments_bytes), SEEK_CUR); in startread()80 size_t comments_bytes = (comments_len + 7) & ~7u; /* Multiple of 8 bytes */ in write_header() local87 ||lsx_writedw(ft, FIXED_HDR + (unsigned)comments_bytes) in write_header()[all …]