summaryrefslogtreecommitdiff
path: root/libavcodec/audiotoolboxdec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-06-20 12:23:59 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-06-20 12:23:59 +0200
commitdcdf69561fde475f2d99573174eb5ae54e3052de (patch)
tree49bb0e53c251fe607390f1988ed8d0b91a50007b /libavcodec/audiotoolboxdec.c
parentcbe2dc7275bb7f488cbb6c8cdf98a5f26355c279 (diff)
downloadffmpeg-dcdf69561fde475f2d99573174eb5ae54e3052de.tar.gz
lavc/audiotoolboxdec: Forward extradata for QDMC and QDM2.
Fixes audiotoolbox decoding of QDMC and QDM2.
Diffstat (limited to 'libavcodec/audiotoolboxdec.c')
-rw-r--r--libavcodec/audiotoolboxdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 2748e8dbe2..1097668437 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoolboxdec.c
@@ -270,6 +270,8 @@ static av_cold int ffat_usable_extradata(AVCodecContext *avctx)
ATDecodeContext *at = avctx->priv_data;
return at->extradata_size &&
(avctx->codec_id == AV_CODEC_ID_ALAC ||
+ avctx->codec_id == AV_CODEC_ID_QDM2 ||
+ avctx->codec_id == AV_CODEC_ID_QDMC ||
avctx->codec_id == AV_CODEC_ID_AAC);
}