From 3ed73c46ca80a62edc0f74ed60aff08d1b6f5766 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sun, 26 Mar 2006 17:05:28 +0000 Subject: [PATCH] let vorbis decoder init too, fix mi2_vorbis51.mp4 Originally committed as revision 5223 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 0e6e8dfe18..6d6d3d5787 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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 */