summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-26 17:05:28 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-26 17:05:28 +0000
commit3ed73c46ca80a62edc0f74ed60aff08d1b6f5766 (patch)
tree8025e86a7a641e3bc458a562b89fb30658fe929c /libavformat
parente31bd3e309d766dc240c4f91331599ffcde1c867 (diff)
let vorbis decoder init too, fix mi2_vorbis51.mp4
Originally committed as revision 5223 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 0e6e8dfe18..6d6d3d5787 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1143,6 +1143,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
#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 */
break;