http: restructure http_connect error handling path
authorwm4 <nfxjfg@googlemail.com>
Fri, 21 Mar 2014 17:51:31 +0000 (18:51 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 23 Mar 2014 04:56:35 +0000 (05:56 +0100)
commit686e662676288f04337d1dffcd0edf8235c9c8bf
tree783e1d687156c92256539e007a74cc6a2e2d34af
parent6ee2911996ed5aea8fd49fd264cfb7930a7cd10e
http: restructure http_connect error handling path

The authstr memory allocations make it annoying to error in the middle
of the header setup code, so apply the usual C error handling idiom to
make it easier to error at any point.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/http.c