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