diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-23 23:10:32 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-23 23:10:32 +0000 |
commit | 75e61b0e88ddb17fa57f8e3bc10d27cb1282a815 (patch) | |
tree | 53eb957add38a1f9d9617d8addfc7a070980b4e3 /libavformat/avio.c | |
parent | fc78ce803bd4fb2431a843224b572d543580d275 (diff) | |
download | ffmpeg-streaming-75e61b0e88ddb17fa57f8e3bc10d27cb1282a815.zip ffmpeg-streaming-75e61b0e88ddb17fa57f8e3bc10d27cb1282a815.tar.gz |
use new string functions
based on patch by Reimar Döffinger
Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index a22bd22..4bfa137 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" +#include "avstring.h" static int default_interrupt_cb(void); @@ -169,7 +170,7 @@ int url_get_max_packet_size(URLContext *h) void url_get_filename(URLContext *h, char *buf, int buf_size) { - pstrcpy(buf, buf_size, h->filename); + av_strlcpy(buf, h->filename, buf_size); } |