mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 21:48:15 +08:00
* Add prototype for strlcpy
Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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);
|
int strstart(const char *str, const char *val, const char **ptr);
|
||||||
void nstrcpy(char *buf, int buf_size, const char *str);
|
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);
|
int match_ext(const char *filename, const char *extensions);
|
||||||
|
|
||||||
void register_all(void);
|
void register_all(void);
|
||||||
|
Reference in New Issue
Block a user