Commit 3ed73c46 authored by Baptiste Coudurier's avatar Baptiste Coudurier

let vorbis decoder init too, fix mi2_vorbis51.mp4

Originally committed as revision 5223 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e31bd3e3
...@@ -1142,6 +1142,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -1142,6 +1142,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
switch (st->codec->codec_id) { switch (st->codec->codec_id) {
#ifdef CONFIG_FAAD #ifdef CONFIG_FAAD
case CODEC_ID_AAC: case CODEC_ID_AAC:
#endif
#ifdef CONFIG_VORBIS_DECODER
case CODEC_ID_VORBIS:
#endif #endif
case CODEC_ID_MP3ON4: case CODEC_ID_MP3ON4:
st->codec->sample_rate= 0; /* let decoder init parameters properly */ st->codec->sample_rate= 0; /* let decoder init parameters properly */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment