if (header->speex_version_id != 1)
if (header->speex_version_id > 1)
static void *process_header(ogg_packet *op, int enh_enabled, int *frame_size, int *rate, int *nframes, int forceMode, int *channels, SpeexStereoState *stereo, int *extra_headers){   void *st;   SpeexMode *mode;   SpeexHeader *header;   int modeID;   SpeexCallback callback;         header = speex_packet_to_header((char*)op->packet, op->bytes);   if (!header)   {      fprintf (stderr, "Cannot read header\n");      return NULL;   }   if (header->mode >= SPEEX_NB_MODES)   {      fprintf (stderr, "Mode number %d does not (yet/any longer) exist in this version\n",                header->mode);      return NULL;   }         modeID = header->mode;   if (forceMode!=-1)      modeID = forceMode;   mode = speex_mode_list[modeID];      if (header->speex_version_id != 1)   {      fprintf (stderr, "This file was encoded with Speex bit-stream version %d, which I don't know how to decode\n", header->speex_version_id);      return NULL;   }   if (mode->bitstream_version < header->mode_bitstream_version)   {      fprintf (stderr, "The file was encoded with a newer version of Speex. You need to upgrade in order to play it.\n");      return NULL;   }   if (mode->bitstream_version > header->mode_bitstream_version)    {      fprintf (stderr, "The file was encoded with an older version of Speex. You would need to downgrade the version in order to play it.\n");      return NULL;   }      st = speex_decoder_init(mode);   if (!st)   {      fprintf (stderr, "Decoder initialization failed.\n");      return NULL;   }   speex_decoder_ctl(st, SPEEX_SET_ENH, &enh_enabled);   speex_decoder_ctl(st, SPEEX_GET_FRAME_SIZE, frame_size);   if (!(*channels==1))   {      callback.callback_id = SPEEX_INBAND_STEREO;      callback.func = speex_std_stereo_request_handler;      callback.data = stereo;      speex_decoder_ctl(st, SPEEX_SET_HANDLER, &callback);   }   if (!*rate)      *rate = header->rate;   /* Adjust rate if --force-* options are used */   if (forceMode!=-1)   {      if (header->mode < forceMode)         *rate <<= (forceMode - header->mode);      if (header->mode > forceMode)         *rate >>= (header->mode - forceMode);   }   speex_decoder_ctl(st, SPEEX_SET_SAMPLING_RATE, rate);   *nframes = header->frames_per_packet;   if (*channels==-1)      *channels = header->nb_channels;      fprintf (stderr, "Decoding %d Hz audio using %s mode",             *rate, mode->modeName);   if (*channels==1)      fprintf (stderr, " (mono");   else      fprintf (stderr, " (stereo");         if (header->vbr)      fprintf (stderr, ", VBR)\n");   else      fprintf(stderr, ")\n");   /*fprintf (stderr, "Decoding %d Hz audio at %d bps using %s mode\n",     *rate, mode->bitrate, mode->modeName);*/   *extra_headers = header->extra_headers;   free(header);   return st;}