diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-06-20 12:23:59 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-06-20 12:23:59 +0200 |
commit | dcdf69561fde475f2d99573174eb5ae54e3052de (patch) | |
tree | 49bb0e53c251fe607390f1988ed8d0b91a50007b | |
parent | cbe2dc7275bb7f488cbb6c8cdf98a5f26355c279 (diff) | |
download | ffmpeg-dcdf69561fde475f2d99573174eb5ae54e3052de.tar.gz |
lavc/audiotoolboxdec: Forward extradata for QDMC and QDM2.
Fixes audiotoolbox decoding of QDMC and QDM2.
-rw-r--r-- | libavcodec/audiotoolboxdec.c | 2 |
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); } |