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

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 19 09:22:02 CET 2016


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> 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?

Ping, this code can only be reached with small numbers, 
so please explain what input would be an issue.

Carl Eugen


More information about the ffmpeg-devel mailing list