mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 18:25:03 +00:00
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
@ -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…
Reference in New Issue
Block a user