Re: [FFmpeg-devel] [PATCH v2 08/10] avformat/aptxdec: Use ff_pcm_read_packet

2021-09-01 Thread Paul B Mahol
Make sure there is not limitation in APTX specification how packet size must be, looking that now it is changed for stereo. Otherwise LGTM. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

[FFmpeg-devel] [PATCH v2 08/10] avformat/aptxdec: Use ff_pcm_read_packet

2021-08-31 Thread Andreas Rheinhardt
It automatically honours block_align and it clears the AV_PKT_FLAG_CORRUPT flag which up until now was always set for the last packet if the number of input blocks was not divisible by 256 (or equivalently: if the number of input samples was not divisible by 1024). It reads more data at once;