Browse Source

let vorbis decoder init too, fix mi2_vorbis51.mp4

Originally committed as revision 5223 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 19 years ago
parent
commit
3ed73c46ca
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/mov.c

+ 3
- 0
libavformat/mov.c View File

@@ -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 */


Loading…
Cancel
Save