[FFmpeg-devel] [PATCH v8 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

Nicolas George george at nsup.org
Sat Jun 8 12:24:57 EEST 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190608/21dddaec/attachment.sig>


More information about the ffmpeg-devel mailing list