summaryrefslogtreecommitdiff
path: root/libav
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-05-10 02:16:29 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-05-10 02:16:29 +0000
commit283383715f5399db2f7e6182f70268c07ff55a90 (patch)
tree396bfe08704b7581551483c2bf75b6168787ca28 /libav
parentccac2e27f165e846289dd192b573102bc995f6b4 (diff)
* Add prototype for strlcpy
Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav')
-rw-r--r--libav/avformat.h2
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);