Re: [FFmpeg-devel] [PATCH] dcaenc: fix segfault when attempting to encode with invalid samplerate

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 06:43:34PM +0100, Rostislav Pehlivanov wrote: > --- > libavcodec/dcaenc.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c > index 186997c631..4b4ceeff05 100644 > --- a/libavcodec/dcaenc.c > +++ b/lib

Re: [FFmpeg-devel] [PATCH] dcaenc: fix segfault when attempting to encode with invalid samplerate

2018-05-05 Thread Paul B Mahol
On 5/5/18, Rostislav Pehlivanov wrote: > --- > libavcodec/dcaenc.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c > index 186997c631..4b4ceeff05 100644 > --- a/libavcodec/dcaenc.c > +++ b/libavcodec/dcaenc.c > @@ -152,8 +1

[FFmpeg-devel] [PATCH] dcaenc: fix segfault when attempting to encode with invalid samplerate

2018-05-05 Thread Rostislav Pehlivanov
--- libavcodec/dcaenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c index 186997c631..4b4ceeff05 100644 --- a/libavcodec/dcaenc.c +++ b/libavcodec/dcaenc.c @@ -152,8 +152,11 @@ static int subband_bufer_alloc(DCAEncContext *c)