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

Michael Niedermayer michaelni at gmx.at
Tue Apr 12 04:10:37 CEST 2011


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110412/9bd8a163/attachment.asc>


More information about the ffmpeg-devel mailing list