Re: [FFmpeg-devel] [PATCH] lavfi/avf_showspectrum: check RDFT contet init.

2014-08-06 Thread Clément Bœsch
On Sun, Aug 03, 2014 at 08:40:36PM +0200, Nicolas George wrote: > Fix a segfault with large window size. > > Signed-off-by: Nicolas George > --- > libavfilter/avf_showspectrum.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showsp

Re: [FFmpeg-devel] [PATCH] lavfi/avf_showspectrum: check RDFT contet init.

2014-08-03 Thread Michael Niedermayer
On Sun, Aug 03, 2014 at 08:40:36PM +0200, Nicolas George wrote: > Fix a segfault with large window size. > > Signed-off-by: Nicolas George > --- > libavfilter/avf_showspectrum.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showsp

Re: [FFmpeg-devel] [PATCH] lavfi/avf_showspectrum: check RDFT contet init.

2014-08-03 Thread Nicolas George
Le sextidi 16 thermidor, an CCXXII, Timothy Gu a écrit : > > s->rdft = av_rdft_init(rdft_bits, DFT_R2C); > > +if (!s->rdft) { > > +av_log(ctx, AV_LOG_ERROR, "Unable to allocate RDFT context. " > > + "Maybe window too high.\n"); > > +return

Re: [FFmpeg-devel] [PATCH] lavfi/avf_showspectrum: check RDFT contet init.

2014-08-03 Thread Timothy Gu
On Sun, Aug 3, 2014 at 11:40 AM, Nicolas George wrote: > Fix a segfault with large window size. > > Signed-off-by: Nicolas George > --- > libavfilter/avf_showspectrum.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c >

[FFmpeg-devel] [PATCH] lavfi/avf_showspectrum: check RDFT contet init.

2014-08-03 Thread Nicolas George
Fix a segfault with large window size. Signed-off-by: Nicolas George --- libavfilter/avf_showspectrum.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c index 7bf3aab..764a000 100644 --- a/libavfilter/avf_showspectrum.c +++