diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-02-24 11:19:27 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-03-16 10:41:01 +0100 |
commit | b334fd39c9c00c739faeece87fa81c980c148a16 (patch) | |
tree | 1b7501f60eecc5c3ede08a8c2501e31dbb0204bb /libavdevice/android_camera.c | |
parent | 7d09579190def3ef7562399489e628f3b65714ce (diff) | |
download | ffmpeg-b334fd39c9c00c739faeece87fa81c980c148a16.tar.gz |
cmdutils: replace strncpy() with direct assignment
Only one character is actually rewritten.
Fixes truncation warnings, such as
warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
in gcc 10.2.0
Diffstat (limited to 'libavdevice/android_camera.c')
0 files changed, 0 insertions, 0 deletions