summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2013-01-16 19:32:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-23 15:45:58 +0100
commite26b066cd8db361feba90e943c6cfdf062c52272 (patch)
treea13ffda35ad957c74ca8c9666ea5e96f1bc8f0b4 /libavformat/mov.c
parent785b849f1c231698ba66468bc35c393fa99b270c (diff)
libspeex: support ZygoAudio (quality 10 mode)
Fixes "quality 10" mode from Ticket1873 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 577c0e9867..3c54ef3834 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1033,7 +1033,9 @@ static int mov_read_wave(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if ((uint64_t)atom.size > (1<<30))
return AVERROR_INVALIDDATA;
- if (st->codec->codec_id == AV_CODEC_ID_QDM2 || st->codec->codec_id == AV_CODEC_ID_QDMC) {
+ if (st->codec->codec_id == AV_CODEC_ID_QDM2 ||
+ st->codec->codec_id == AV_CODEC_ID_QDMC ||
+ st->codec->codec_id == AV_CODEC_ID_SPEEX) {
// pass all frma atom to codec, needed at least for QDMC and QDM2
av_free(st->codec->extradata);
st->codec->extradata_size = 0;