http: Fix authentication, broken since 6a463e7fb
authorMartin Storsjö <martin@martin.st>
Wed, 13 Aug 2014 11:32:52 +0000 (14:32 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 13 Aug 2014 17:22:28 +0000 (20:22 +0300)
commit4e629ef80e62a54636cb46033998177dd08cf3ad
treebb85c37aa6d54fbbf3055fb1fb40863dd14cca23
parentdb68ef898a3802e51b6f41fd600d0d46d058e3f8
http: Fix authentication, broken since 6a463e7fb

The cur_*auth_type variables were set before the http_connect call
prior to 6a463e7fb - their sole purpose is to record the
authentication type used to do the latest request, since parsing
the http response sets the new type in the auth state.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/http.c