On Wed, 9 Sep 2015 10:11:16 +0300, Petri Hintukainen wrote: > - sprintf( filename, "/VIDEO_TS/VIDEO_TS.VOB" ); > + strcpy( filename, "/VIDEO_TS/VIDEO_TS.VOB" ); [etc] I would not use either. I would use strncpy instead.