Re: [FFmpeg-devel] [PATCH] wmavoice: protect against zero-energy in adaptive gain control.

2016-12-27 Thread Ronald S. Bultje
Hi, On Wed, Dec 21, 2016 at 2:50 AM, Paul B Mahol wrote: > On 12/21/16, Ronald S. Bultje wrote: > > Otherwise the scale factor becomes NaN, resulting in corrupt output. > > Fixes #5426. > > --- > > libavcodec/wmavoice.c | 3 ++- > > 1 file changed, 2

Re: [FFmpeg-devel] [PATCH] wmavoice: protect against zero-energy in adaptive gain control.

2016-12-20 Thread Paul B Mahol
On 12/21/16, Ronald S. Bultje wrote: > Otherwise the scale factor becomes NaN, resulting in corrupt output. > Fixes #5426. > --- > libavcodec/wmavoice.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c >

[FFmpeg-devel] [PATCH] wmavoice: protect against zero-energy in adaptive gain control.

2016-12-20 Thread Ronald S. Bultje
Otherwise the scale factor becomes NaN, resulting in corrupt output. Fixes #5426. --- libavcodec/wmavoice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index 90dfe20..cd5958c 100644 --- a/libavcodec/wmavoice.c +++