Ticket #2619: patchcookiedomain.diff

File patchcookiedomain.diff, 444 bytes (added by Carl Eugen Hoyos, 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,  
    421421                cvalue = av_strdup(param);
    422422            }
    423423        }
     424if (!cdomain)
     425cdomain=av_strdup(domain);
    424426
    425427        // ensure all of the necessary values are valid
    426428        if (!cdomain || !cpath || !cvalue) {