diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-24 11:27:12 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-24 11:27:12 +0000 |
commit | f7d78f3654f8181fb889000dfc2b9a91ca85e418 (patch) | |
tree | 2dd03806da8128c531f95b35a28cfb245e405ff0 /libavformat/http.c | |
parent | 3565e10b44cc978b75a5179191bc4a3c946a2e4a (diff) | |
download | ffmpeg-f7d78f3654f8181fb889000dfc2b9a91ca85e418.tar.gz |
replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 6acf094443..0d9591e3a6 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -63,7 +63,7 @@ static int http_open_cnx(URLContext *h) proxy_path = getenv("http_proxy"); use_proxy = (proxy_path != NULL) && !getenv("no_proxy") && - strstart(proxy_path, "http://", NULL); + av_strstart(proxy_path, "http://", NULL); /* fill the dest addr */ redo: @@ -126,7 +126,7 @@ static int http_open(URLContext *h, const char *uri, int flags) h->priv_data = s; s->filesize = -1; s->off = 0; - pstrcpy (s->location, URL_SIZE, uri); + av_strlcpy(s->location, uri, URL_SIZE); ret = http_open_cnx(h); if (ret != 0) |