[FFmpeg-devel] Re: [PATCH] cmdutils: replace strncpy() with direct assignment

2021-03-16 Thread Anton Khirnov
No further comments, so set pushed. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubsc

[FFmpeg-devel] Re: [PATCH] cmdutils: replace strncpy() with direct assignment

2021-03-11 Thread Anton Khirnov
Quoting Gregor Riepl (2021-03-09 18:54:11) > > // Change all the ' --' strings to '~--' so that > > // they can be identified as tokens. > > while ((conflist = strstr(str, " --")) != NULL) { > > -strncpy(conflist, "~--", 3); > > +conflist[0] = '~'; > > } > > Doe