From dfc0c1fb50cb626a7d06e87897463bc731da1923 Mon Sep 17 00:00:00 2001 From: Jean-Yves Avenard Date: Sat, 11 Aug 2012 01:39:15 +1000 Subject: [PATCH] Fix compilation error. Silly mistake --- .../libmythtv/HLS/httplivestreambuffer.cpp | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp b/mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp index ce8ecc8fa75..4758dc6e2f2 100644 --- a/mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp +++ b/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::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::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;