diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2003-12-08 17:50:38 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2003-12-08 17:50:38 +0000 |
commit | 4250dafc961b53aaba41c7bb48e765cff1f284c4 (patch) | |
tree | c1c209ee2d86b4550ddf7fb1481d967fa9ae864e /libavformat/http.c | |
parent | d7d2428239cdc5942183d6382832ef459878c7dc (diff) | |
download | ffmpeg-4250dafc961b53aaba41c7bb48e765cff1f284c4.tar.gz |
using LIBAVFORMAT_IDENT
Originally committed as revision 2575 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 b052683790..e992865442 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -184,13 +184,13 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr) snprintf(s->buffer, sizeof(s->buffer), "%s %s HTTP/1.0\n" - "User-Agent: FFmpeg %s\n" + "User-Agent: %s\n" "Accept: */*\n" "Host: %s\n" "\n", post ? "POST" : "GET", path, - LIBAVFORMAT_VERSION, + LIBAVFORMAT_IDENT, hoststr); if (http_write(h, s->buffer, strlen(s->buffer)) < 0) |