memcpy(le_header, header, sizeof(SpeexHeader));
speex_move(le_header, header, sizeof(SpeexHeader));
char *speex_header_to_packet(SpeexHeader *header, int *size){   SpeexHeader *le_header;   le_header = speex_alloc(sizeof(SpeexHeader));      memcpy(le_header, header, sizeof(SpeexHeader));      /*Make sure everything is now little-endian*/   ENDIAN_SWITCH(le_header->speex_header_version);   ENDIAN_SWITCH(le_header->header_size);   ENDIAN_SWITCH(le_header->rate);   ENDIAN_SWITCH(le_header->mode);   ENDIAN_SWITCH(le_header->mode_bitstream_version);   ENDIAN_SWITCH(le_header->nb_channels);   ENDIAN_SWITCH(le_header->bitrate);   ENDIAN_SWITCH(le_header->frame_size);   ENDIAN_SWITCH(le_header->vbr);   ENDIAN_SWITCH(le_header->frames_per_packet);   *size = sizeof(SpeexHeader);   return (char *)le_header;}