int available_bits (frame_header *header, options * glopts);