~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to ffmpeg/libavformat/httpauth.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:23:28 UTC
  • mfrom: (0.4.7 sid)
  • mto: This revision was merged to the branch mainline in revision 76.
  • Revision ID: package-import@ubuntu.com-20120112222328-8jqdyodym3p84ygu
Tags: 2:1.0~rc4.dfsg1+svn34540-1
* New upstream snapshot
* upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
void ff_http_auth_handle_header(HTTPAuthState *state, const char *key,
88
88
                                const char *value)
89
89
{
90
 
    if (!strcmp(key, "WWW-Authenticate")) {
 
90
    if (!strcmp(key, "WWW-Authenticate") || !strcmp(key, "Proxy-Authenticate")) {
91
91
        const char *p;
92
92
        if (av_stristart(value, "Basic ", &p) &&
93
93
            state->auth_type <= HTTP_AUTH_BASIC) {