Re: [FFmpeg-devel] [PATCH] avformat/argo_asf: Use memcpy to copy string without its NUL

2021-09-26 Thread Andreas Rheinhardt
Zane van Iperen: > > > On 26/9/21 1:09 pm, Andreas Rheinhardt wrote: >> This avoids a -Wstringop-truncation warning from GCC which takes >> issue with the fact that the destination might not be NUL terminated. >> >> Signed-off-by: Andreas Rheinhardt >> --- >>   libavformat/argo_asf.c | 20

Re: [FFmpeg-devel] [PATCH] avformat/argo_asf: Use memcpy to copy string without its NUL

2021-09-25 Thread Zane van Iperen
On 26/9/21 1:09 pm, Andreas Rheinhardt wrote: This avoids a -Wstringop-truncation warning from GCC which takes issue with the fact that the destination might not be NUL terminated. Signed-off-by: Andreas Rheinhardt --- libavformat/argo_asf.c | 20 +++- 1 file changed, 7

[FFmpeg-devel] [PATCH] avformat/argo_asf: Use memcpy to copy string without its NUL

2021-09-25 Thread Andreas Rheinhardt
This avoids a -Wstringop-truncation warning from GCC which takes issue with the fact that the destination might not be NUL terminated. Signed-off-by: Andreas Rheinhardt --- libavformat/argo_asf.c | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git