diff options
author | Aman Gupta <aman@tmm1.net> | 2017-12-12 16:02:09 -0800 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2017-12-22 14:42:50 -0800 |
commit | 9395e44b8d20d1d4c72dd5b42d28721ca191d957 (patch) | |
tree | 3b16a56873b683e2e727491b17da477075ca3e07 /libavformat/http.c | |
parent | 28358e466d4f4bc54f8137e0597057f33100b236 (diff) |
avformat/http: add "Opening" info logging to ff_http_do_new_request
This mimics logging that was added in 53e0d5d7247 for security
purposes.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index a3c36423fc..ffdf11cf7e 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -336,6 +336,7 @@ int ff_http_do_new_request(URLContext *h, const char *uri) if (!s->location) return AVERROR(ENOMEM); + av_log(s, AV_LOG_INFO, "Opening \'%s\' for %s\n", uri, h->flags & AVIO_FLAG_WRITE ? "writing" : "reading"); ret = http_open_cnx(h, &options); av_dict_free(&options); return ret; |