Browse Source

Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Accept incomplete http cookies without domain.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
d5caf10c4f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/http.c

+ 2
- 0
libavformat/http.c View File

@@ -421,6 +421,8 @@ static int get_cookies(HTTPContext *s, char **cookies, const char *path,
cvalue = av_strdup(param);
}
}
if (!cdomain)
cdomain = av_strdup(domain);

// ensure all of the necessary values are valid
if (!cdomain || !cpath || !cvalue) {


Loading…
Cancel
Save