Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-12-08 Thread Michael Niedermayer
On Fri, Nov 18, 2016 at 06:35:01PM +0100, Michael Niedermayer wrote: > On Fri, Nov 18, 2016 at 06:22:06PM +0100, Alexander Strasser wrote: > > Hi Michael! > > > > On 2016-11-18 17:03 +0100, Michael Niedermayer wrote: > > > This allows user apps to stop OOM due to excessive number of streams > > >

Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread Michael Niedermayer
On Fri, Nov 18, 2016 at 10:51:33PM +0100, Andreas Cadhalpun wrote: > On 18.11.2016 17:03, Michael Niedermayer wrote: > > --- a/libavformat/options_table.h > > +++ b/libavformat/options_table.h > > @@ -105,6 +105,7 @@ static const AVOption avformat_options[] = { > > {"format_whitelist", "List of de

Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread Andreas Cadhalpun
On 18.11.2016 17:03, Michael Niedermayer wrote: > --- a/libavformat/options_table.h > +++ b/libavformat/options_table.h > @@ -105,6 +105,7 @@ static const AVOption avformat_options[] = { > {"format_whitelist", "List of demuxers that are allowed to be used", > OFFSET(format_whitelist), AV_OPT_TYPE

Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread Michael Niedermayer
On Fri, Nov 18, 2016 at 06:22:06PM +0100, Alexander Strasser wrote: > Hi Michael! > > On 2016-11-18 17:03 +0100, Michael Niedermayer wrote: > > This allows user apps to stop OOM due to excessive number of streams > > TODO: bump & docs > > > > Signed-off-by: Michael Niedermayer > > --- > > libav

Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread Alexander Strasser
Hi Michael! On 2016-11-18 17:03 +0100, Michael Niedermayer wrote: > This allows user apps to stop OOM due to excessive number of streams > TODO: bump & docs > > Signed-off-by: Michael Niedermayer > --- > libavformat/avformat.h | 7 +++ > libavformat/options_table.h | 1 + > libavformat

Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread Michael Niedermayer
On Fri, Nov 18, 2016 at 05:17:10PM +0100, wm4 wrote: > On Fri, 18 Nov 2016 17:03:15 +0100 > Michael Niedermayer wrote: > > > This allows user apps to stop OOM due to excessive number of streams > > TODO: bump & docs > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/avformat.h

Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread James Almer
On 11/18/2016 1:17 PM, wm4 wrote: > On Fri, 18 Nov 2016 17:03:15 +0100 > Michael Niedermayer wrote: > >> This allows user apps to stop OOM due to excessive number of streams >> TODO: bump & docs >> >> Signed-off-by: Michael Niedermayer >> --- >> libavformat/avformat.h | 7 +++ >> libav

Re: [FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread wm4
On Fri, 18 Nov 2016 17:03:15 +0100 Michael Niedermayer wrote: > This allows user apps to stop OOM due to excessive number of streams > TODO: bump & docs > > Signed-off-by: Michael Niedermayer > --- > libavformat/avformat.h | 7 +++ > libavformat/options_table.h | 1 + > libavformat/ut

[FFmpeg-devel] [PATCH] avformat: Add max_streams option

2016-11-18 Thread Michael Niedermayer
This allows user apps to stop OOM due to excessive number of streams TODO: bump & docs Signed-off-by: Michael Niedermayer --- libavformat/avformat.h | 7 +++ libavformat/options_table.h | 1 + libavformat/utils.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --gi