av_find_stream_info(). It forces decoding of a packet when there is no
Speex header in order to determine the correct frame size.
Originally committed as revision 19760 to svn://svn.ffmpeg.org/ffmpeg/trunk
val = enc->sample_rate && enc->channels && enc->sample_fmt != SAMPLE_FMT_NONE;
if(!enc->frame_size &&
(enc->codec_id == CODEC_ID_VORBIS ||
- enc->codec_id == CODEC_ID_AAC))
+ enc->codec_id == CODEC_ID_AAC ||
+ enc->codec_id == CODEC_ID_SPEEX))
return 0;
break;
case CODEC_TYPE_VIDEO: