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

Jean-Baptiste Kempf jb at videolan.org
Wed Jun 29 13:49:25 CEST 2016


On 29 Jun, Hugo Beauzée-Luyssen wrote :
> > +                char *value = strndup( &psz_subtitle[3], i_len );
> 
> Why strdup? atoi("123garbage") will return 123

Are you _sure_ about that?

With my kindest regards,

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


More information about the vlc-devel mailing list