[FFmpeg-devel] [PATCH v3] avformat/hls: use av_strlcopy instead of strncpy

Leo Izen leo.izen at gmail.com
Thu Dec 7 18:55:11 EET 2023


On 11/23/23 10:31, Leo Izen wrote:
> 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 at gmail.com>
> ---

Bump, thanks.

- Leo Izen (Traneptora)



More information about the ffmpeg-devel mailing list