lavc/audiotoolboxdec: Forward extradata for QDMC and QDM2.

Fixes audiotoolbox decoding of QDMC and QDM2.
This commit is contained in:
Carl Eugen Hoyos 2016-06-20 12:23:59 +02:00
parent cbe2dc7275
commit dcdf69561f

View File

@ -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);
}