On Fri, 6 Jan 2017 23:33:16 +0100 Tobias Stoeckmann <tob...@stoeckmann.org> wrote:
> + slash = strrchr(my_program_name, '/'); > + memcpy(pathname, my_program_name, slash - my_program_name); > - strcpy(slash, "ffmpeg"); > + strcat(pathname, "ffmpeg"); this replaces a strcpy with a memcpy, is this intended (and safe?)? (possibly this is a dumb question, if so, please ignore this mail.) -compn _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel