Commit 9395e44b authored by Aman Gupta's avatar Aman Gupta

avformat/http: add "Opening" info logging to ff_http_do_new_request

This mimics logging that was added in 53e0d5d7 for security
purposes.
Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 28358e46
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment