Jun Li (12019-06-07):
> I think a complete validation should be creating a function like "atodigit"
> , string to digit, instead of using atoi,

The problem of validation is a common one, and as such it already has a
solution.

APPLICATION USAGE

    The atoi() function is subsumed by strtol() but is retained because it is
    used extensively in existing code. If the number is not known to be in
    range, strtol() should be used because atoi() is not required to perform
    any error checking.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to