Commit 7c6ebe2b authored by Michael Niedermayer's avatar Michael Niedermayer

alac: drop packed sample output support with the next major bump

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cb6a20fa
......@@ -598,7 +598,7 @@ static av_cold int alac_decode_init(AVCodecContext * avctx)
return -1;
}
req_packed = !av_sample_fmt_is_planar(avctx->request_sample_fmt);
req_packed = LIBAVCODEC_VERSION_MAJOR < 55 && !av_sample_fmt_is_planar(avctx->request_sample_fmt);
switch (alac->sample_size) {
case 16: avctx->sample_fmt = req_packed ? AV_SAMPLE_FMT_S16 : AV_SAMPLE_FMT_S16P;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment