[FFmpeg-devel] [PATCH] ffmpeg: use parse_number_and_die() when it makes sense

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Apr 16 21:50:24 CEST 2011


On date Tuesday 2011-04-12 04:10:37 +0200, Michael Niedermayer encoded:
> On Mon, Apr 11, 2011 at 01:31:45PM +0200, Stefano Sabatini wrote:
> > Prefer parse_number_or_die() over atoi()/atol() parsing for the options:
> > -pass, -top, -vc, and -qscale.
> > 
> > Improve input validation.
> > 
> > Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > ---
> >  ffmpeg.c |   39 ++++++++++++++++++---------------------
> >  1 files changed, 18 insertions(+), 21 deletions(-)
> 
> should be ok

Pushed.
-- 
FFmpeg = Forgiving & Fantastic Mind-dumbing Portable Experimenting God


More information about the ffmpeg-devel mailing list