[FFmpeg-devel] [PATCH]lavc/x264: Improve level setting

Nicolas George george at nsup.org
Mon Jan 18 08:55:50 CET 2016

Le nonidi 29 nivôse, an CCXXIV, Carl Eugen Hoyos a écrit :
> The original patch (that does not care about tail 
> since it can't be reached anyway) uses atoi().
> Is that not ok?

atoi() has undefined behaviours in case of error, and has a trivial
replacement that works best: it should not be used at all IMHO.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160118/c2f459c1/attachment.sig>

More information about the ffmpeg-devel mailing list