From dcdf69561fde475f2d99573174eb5ae54e3052de Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 20 Jun 2016 12:23:59 +0200 Subject: [PATCH] lavc/audiotoolboxdec: Forward extradata for QDMC and QDM2. Fixes audiotoolbox decoding of QDMC and QDM2. --- libavcodec/audiotoolboxdec.c | 2 ++ 1 file changed, 2 insertions(+) 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); }