1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-20 14:10:21 +02:00
parent cb6a20fa56
commit 7c6ebe2b97

View File

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