[FFmpeg-devel] [PATCH] lavf/http: add debug log in get_cookies()
Stefano Sabatini
stefasab at gmail.com
Thu Jan 31 21:45:54 CET 2013
---
libavformat/http.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/http.c b/libavformat/http.c
index 0c3826f..4a414f7 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -443,6 +443,8 @@ static int get_cookies(HTTPContext *s, char **cookies, const char *path,
goto done_cookie;
// cookie parameters match, so copy the value
+ av_log(s, AV_LOG_VERBOSE, "cookie %s; domain=%s; path=%s matches with domain=%s; path=%s\n",
+ cvalue, cdomain, cpath, domain, path);
if (!*cookies) {
if (!(*cookies = av_strdup(cvalue))) {
ret = AVERROR(ENOMEM);
--
1.7.9.5
More information about the ffmpeg-devel
mailing list