speex_warning_int("Packet if larger than allocated buffer: ", len);
speex_warning_int("Packet is larger than allocated buffer: ", len);
void speex_bits_read_from(SpeexBits *bits, char *chars, int len){   int i;   if (len > bits->buf_size)   {      speex_warning_int("Packet if larger than allocated buffer: ", len);      if (bits->owner)      {         char *tmp = (char*)speex_realloc(bits->chars, len);         if (tmp)         {            bits->buf_size=len;            bits->chars=tmp;         } else {            len=bits->buf_size;            speex_warning("Could not resize input buffer: truncating input");         }      } else {         speex_warning("Do not own input buffer: truncating input");         len=bits->buf_size;      }   }   for (i=0;i<len;i++)      bits->chars[i]=chars[i];   bits->nbBits=len<<3;   bits->charPtr=0;   bits->bitPtr=0;   bits->overflow=0;}