[FFmpeg-cvslog] alac: drop packed sample output support with the next major bump

Michael Niedermayer git at videolan.org
Fri Jul 20 14:18:18 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jul 20 14:10:21 2012 +0200| [7c6ebe2b97a6e05f07b766801c6f9ae52e0d9f70] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c6ebe2b97a6e05f07b766801c6f9ae52e0d9f70
---

 libavcodec/alac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 6f6a379..83b2c1b 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;



More information about the ffmpeg-cvslog mailing list