Re: [Libav-user] What' the difference of decoding an Audio frame of planar sample format with avcodec_decode_audio3 and 4

2013-02-08 Thread Carl Eugen Hoyos
黄轩宇 writes: > Another thing is about libavresample and libswresample. Please note that only libswresample is supported (and shold therefore be used). > I know this two libraries provide interfaces to convert data format. > But if what I want is just array re-layout (as AAC decoder upgraded >

[Libav-user] What' the difference of decoding an Audio frame of planar sample format with avcodec_decode_audio3 and 4

2013-02-08 Thread 黄轩宇
Hi All, I'm now upgrading our application to use the latest ffmpeg version. In old version the AAC decoder supports packed sample but the latest AAC decoder only supports planar sample format. Our application uses avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr