Permalink
Browse files

[Fix] http protocol options seekable=0 now finally works.

  • Loading branch information...
1 parent c403dcf commit 2d3ba32223f68be30906e6ec2b4a11b693157d7a @ulion ulion committed Apr 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/filesystem/CurlFile.cpp
@@ -884,6 +884,7 @@ void CCurlFile::Reset()
bool CCurlFile::Open(const CURL& url)
{
m_opened = true;
+ m_seekable = true;
CURL url2(url);
ParseAndCorrectUrl(url2);
@@ -894,7 +895,6 @@ bool CCurlFile::Open(const CURL& url)
if( m_state->m_easyHandle == NULL )
g_curlInterface.easy_aquire(url2.GetProtocol(), url2.GetHostName(), &m_state->m_easyHandle, &m_state->m_multiHandle );
- m_seekable = true;
// setup common curl options
SetCommonOptions(m_state);
SetRequestHeaders(m_state);

0 comments on commit 2d3ba32

Please sign in to comment.