diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-20 14:10:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-20 14:11:09 +0200 |
commit | 7c6ebe2b97a6e05f07b766801c6f9ae52e0d9f70 (patch) | |
tree | fb0b589762963a02cb5739b7b52eb4804c62cd57 | |
parent | cb6a20fa5616f707e5249c1e949442a2e51e0765 (diff) | |
download | ffmpeg-7c6ebe2b97a6e05f07b766801c6f9ae52e0d9f70.tar.gz |
alac: drop packed sample output support with the next major bump
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/alac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 6f6a379a07..83b2c1b247 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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; |