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

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 18 09:55:23 CET 2016


Nicolas George <george <at> nsup.org> writes:

> 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 

How can I produce an error here?

> and has a trivial replacement that works best

Please elaborate.

Carl Eugen


More information about the ffmpeg-devel mailing list