Ticket #2619: patchcookiedomain.diff
| File patchcookiedomain.diff, 444 bytes (added by , 13 years ago) |
|---|
-
libavformat/http.c
diff --git a/libavformat/http.c b/libavformat/http.c index 7f33eca..67431cd 100644
a b static int get_cookies(HTTPContext *s, char **cookies, const char *path, 421 421 cvalue = av_strdup(param); 422 422 } 423 423 } 424 if (!cdomain) 425 cdomain=av_strdup(domain); 424 426 425 427 // ensure all of the necessary values are valid 426 428 if (!cdomain || !cpath || !cvalue) {
