diff options
author | Leo Izen <leo.izen@gmail.com> | 2023-11-23 10:31:59 -0500 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2023-12-16 04:28:20 -0500 |
commit | 1f56bfc9869b05df7bf15705c3f7b137dece1bd6 (patch) | |
tree | 26eefb026243ae1b20239d60e577c41c0ae054b4 /libavformat/asfcrypt.c | |
parent | 918b3ed2d51c11a474b8a9ce7b784f7a20d9645b (diff) | |
download | ffmpeg-1f56bfc9869b05df7bf15705c3f7b137dece1bd6.tar.gz |
avformat/hls: use av_strlcopy instead of strncpy
Avoids a -Wstringop-truncation warning by using av_strlcopy instead of
strncpy. Additionally, prints a warning to the log context if this
truncation occurred.
Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'libavformat/asfcrypt.c')
0 files changed, 0 insertions, 0 deletions