diff options
author | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-05-10 02:16:29 +0000 |
---|---|---|
committer | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-05-10 02:16:29 +0000 |
commit | 283383715f5399db2f7e6182f70268c07ff55a90 (patch) | |
tree | 396bfe08704b7581551483c2bf75b6168787ca28 /libav/avformat.h | |
parent | ccac2e27f165e846289dd192b573102bc995f6b4 (diff) | |
download | ffmpeg-283383715f5399db2f7e6182f70268c07ff55a90.tar.gz |
* Add prototype for strlcpy
Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avformat.h')
-rw-r--r-- | libav/avformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libav/avformat.h b/libav/avformat.h index e17c7a514b..10de1f8c2c 100644 --- a/libav/avformat.h +++ b/libav/avformat.h @@ -178,6 +178,8 @@ AVFormat *guess_format(const char *short_name, const char *filename, const char int strstart(const char *str, const char *val, const char **ptr); void nstrcpy(char *buf, int buf_size, const char *str); +/* This does what strncpy ought to do. */ +void strlcpy(char *dst, const char *src, int dst_size); int match_ext(const char *filename, const char *extensions); void register_all(void); |