[vlc-devel] [vlc-commits] subtitles: support MicroDVD size extension

Jean-Baptiste Kempf jb at videolan.org
Wed Jun 29 16:37:21 CEST 2016


On 29 Jun, Rémi Denis-Courmont wrote :
> > That's how I interpret «The atoi, atol, and atoll functions convert
> > the *initial* portion of the string pointed to by nptr to int»
> > (emphasis mine)
> 
> Yes. To determine what was after the digits part, use strtol/strtoul, or
> sscanf("%d%n") instead.

OK. TIL.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list