forked from FFmpeg/FFmpeg
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:
parent
e31bd3e309
commit
3ed73c46ca
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue