Initialize the http connection in http_seek, too
authorMartin Storsjö <martin@martin.st>
Wed, 9 Jun 2010 08:29:51 +0000 (08:29 +0000)
committerMartin Storsjö <martin@martin.st>
Wed, 9 Jun 2010 08:29:51 +0000 (08:29 +0000)
commitbdb57a9198993a6c1fb9175d2e94083ad8ee0380
treeb09c124425df5561e10b3f69701225ea58df6751
parentd5cc1ed723cfbbf71ea005ce1a2e2f5b55a9f631
Initialize the http connection in http_seek, too

This makes url_fsize return correct values for delay opened connections
that have not yet been initialized.
This fixes using the image2 demuxer with http sources.

Originally committed as revision 23546 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/http.c