let vorbis decoder init too, fix mi2_vorbis51.mp4

Originally committed as revision 5223 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-03-26 17:05:28 +00:00
parent e31bd3e309
commit 3ed73c46ca

View File

@ -1142,6 +1142,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
switch (st->codec->codec_id) {
#ifdef CONFIG_FAAD
case CODEC_ID_AAC:
#endif
#ifdef CONFIG_VORBIS_DECODER
case CODEC_ID_VORBIS:
#endif
case CODEC_ID_MP3ON4:
st->codec->sample_rate= 0; /* let decoder init parameters properly */