Permalink
Browse files

Fix compilation error.

Silly mistake
  • Loading branch information...
1 parent a52ec1d commit dfc0c1fb50cb626a7d06e87897463bc731da1923 @jyavenard jyavenard committed Aug 10, 2012
Showing with 13 additions and 13 deletions.
  1. +13 −13 mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp
@@ -746,6 +746,19 @@ class HLSStream
m_targetduration : upd.m_targetduration;
m_cache = upd.m_cache;
}
+ void Cancel(void)
+ {
+ QMutexLocker lock(&m_lock);
+ QList<HLSSegment*>::iterator it = m_segments.begin();
+ for (; it != m_segments.end(); ++it)
+ {
+ if (*it)
+ {
+ (*it)->CancelDownload();
+ }
+ }
+ }
+
#ifdef USING_LIBCRYPTO
/**
* Will download all required segment AES-128 keys
@@ -812,19 +825,6 @@ class HLSStream
m_keypath = x;
}
- void Cancel(void)
- {
- QMutexLocker lock(&m_lock);
- QList<HLSSegment*>::iterator it = m_segments.begin();
- for (; it != m_segments.end(); ++it)
- {
- if (*it)
- {
- (*it)->CancelDownload();
- }
- }
- }
-
private:
QString m_keypath; // URL path of the encrypted key
bool m_ivloaded;

0 comments on commit dfc0c1f

Please sign in to comment.