[FFmpeg-devel] [PATCH 1/3] avcodec/alsdec: Limit maximum channels to 64

Michael Niedermayer michael at niedermayer.cc
Mon Aug 19 15:29:42 EEST 2019


On Mon, Aug 19, 2019 at 07:41:43AM +0200, Thilo Borgmann wrote:
> Am 19.08.19 um 01:30 schrieb Michael Niedermayer:
> > There seems to be no limit in the specification and upto 64k could be stored
> > 64 is chooses as limit as thats also used for AAC and is what a int64 mask
> > can handle
> > 
> > An alternative to this patch would be a max_channels variable
> 
> There's a conformance file containing 512 channels, that should be the default max value.

can you add a fate test with that sample ?

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190819/27697996/attachment.sig>


More information about the ffmpeg-devel mailing list