Browse Source

* Add prototype for strlcpy

Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Philip Gladstone 23 years ago
parent
commit
283383715f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libav/avformat.h

+ 2
- 0
libav/avformat.h View File

@@ -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);


Loading…
Cancel
Save