[FFmpeg-devel] [PATCH] avformat/options_table: Set the default maximum number of streams to 100
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Fri Dec 9 01:52:08 EET 2016
On 08.12.2016 20:57, Michael Niedermayer wrote:
> This is something the community must decide.
> A. Is a heap limit for av_*alloc*() acceptable ?
I'm not sure that's a good idea, because it can't limit what other
libraries called by libavcodec etc. allocate.
> B. Are case based limits acceptable ?
For the common cases, yes.
However I doubt it's useful to limit every possible case.
> C. document that libavcodec, libavformat and ffmpeg must be run as a
> seperate process if the media comes from untrusted sources.
Anything handling untrusted media files should have appropriate resource
limits, anyway.
Best regards,
Andreas
More information about the ffmpeg-devel
mailing list