summaryrefslogtreecommitdiff
path: root/src/AS_02_internal.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-11 11:19:03 +0000
committerCarl Hetherington <cth@carlh.net>2019-12-03 16:44:25 +0100
commit3ac58e7f18a14d9950fcc9fe5c19a3ddc8aed571 (patch)
treed29c7a25fdd8acdaa49b2cc00bb07e2f7130e2a1 /src/AS_02_internal.h
parent8ec31f1e14c00e7b21ae38228d3b410dafd9594d (diff)
Remove some unused variables.
Diffstat (limited to 'src/AS_02_internal.h')
-rw-r--r--src/AS_02_internal.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/AS_02_internal.h b/src/AS_02_internal.h
index bcee7a7..fa8efde 100644
--- a/src/AS_02_internal.h
+++ b/src/AS_02_internal.h
@@ -25,9 +25,9 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
+*/
/*! \file AS_02_internal.h
- \version $Id: AS_02_internal.h ***
+ \version $Id: AS_02_internal.h ***
\brief AS-02 library, non-public common elements
*/
@@ -92,7 +92,7 @@ namespace AS_02
public:
const ASDCP::Dictionary*& m_Dict;
ASDCP::IPrimerLookup* m_Lookup;
-
+
AS02IndexWriterVBR(const ASDCP::Dictionary*&);
virtual ~AS02IndexWriterVBR();
@@ -124,7 +124,7 @@ namespace AS_02
ASDCP::IPrimerLookup* m_Lookup;
ui32_t m_Duration;
ui32_t m_SampleSize;
-
+
AS02IndexWriterCBR(const ASDCP::Dictionary*&);
virtual ~AS02IndexWriterCBR();
@@ -159,7 +159,7 @@ namespace AS_02
~h__AS02Writer() {}
-
+
// all the above for a single source clip
Result_t WriteAS02Header(const std::string& PackageLabel, const ASDCP::UL& WrappingUL,
const std::string& TrackName, const ASDCP::UL& EssenceUL,
@@ -244,14 +244,13 @@ namespace AS_02
if ( KM_SUCCESS(result) )
result = this->m_File.Seek(0);
-
+
if ( KM_SUCCESS(result) )
result = m_HeaderPart.WriteToFile(this->m_File, this->m_HeaderSize);
-
+
if ( KM_SUCCESS(result) )
{
ASDCP::MXF::RIP::const_pair_iterator i = this->m_RIP.PairArray.begin();
- ui64_t header_byte_count = this->m_HeaderPart.HeaderByteCount;
ui64_t previous_partition = 0;
for ( i = this->m_RIP.PairArray.begin(); KM_SUCCESS(result) && i != this->m_RIP.PairArray.end(); ++i )
@@ -261,7 +260,7 @@ namespace AS_02
if ( KM_SUCCESS(result) )
result = plain_part.InitFromFile(this->m_File);
-
+
if ( KM_SUCCESS(result)
&& ( plain_part.IndexSID > 0 || plain_part.BodySID > 0 ) )
{
@@ -278,7 +277,7 @@ namespace AS_02
}
}
}
-
+
this->m_File.Close();
return result;
}