Re: [FFmpeg-devel] [PATCH] opt: reject denominator zero as out of range

2016-12-12 Thread Andreas Cadhalpun
On 12.12.2016 03:39, Michael Niedermayer wrote: > On Mon, Dec 12, 2016 at 01:31:47AM +0100, Andreas Cadhalpun wrote: >> Signed-off-by: Andreas Cadhalpun >> --- >> libavutil/opt.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavutil/opt.c b/libavutil/opt.c >> index

Re: [FFmpeg-devel] [PATCH] opt: reject denominator zero as out of range

2016-12-11 Thread Michael Niedermayer
On Mon, Dec 12, 2016 at 01:31:47AM +0100, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavutil/opt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/opt.c b/libavutil/opt.c > index f855ccb..6ae2af6 100644 > --- a/libavutil/opt.c > +++ b

[FFmpeg-devel] [PATCH] opt: reject denominator zero as out of range

2016-12-11 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavutil/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index f855ccb..6ae2af6 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -97,7 +97,7 @@ static int read_number(const AVOption *o, const vo