summaryrefslogtreecommitdiff
path: root/src/h__02_Writer.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-11 10:36:03 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-14 23:01:35 +0000
commit830493c01279d5d9517293c54271129ab3ea5263 (patch)
tree42ee4b0335b699bed5a0dcd2a031359ad983a388 /src/h__02_Writer.cpp
parentb31cbc90a432b9ac04a608429053555afecd0223 (diff)
Remove unused parameters to methods.
Diffstat (limited to 'src/h__02_Writer.cpp')
-rw-r--r--src/h__02_Writer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/h__02_Writer.cpp b/src/h__02_Writer.cpp
index 972e556..77c33ac 100644
--- a/src/h__02_Writer.cpp
+++ b/src/h__02_Writer.cpp
@@ -25,7 +25,7 @@ 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 h__02_Writer.cpp
\version $Id: h__02_Writer.cpp,v 1.14 2015/10/09 23:41:11 jhurst Exp $
\brief MXF file writer base class
@@ -58,7 +58,7 @@ AS_02::MXF::AS02IndexWriterVBR::WriteToFile(Kumu::FileWriter& Writer)
assert(m_Dict);
ASDCP::FrameBuffer index_body_buffer;
ui32_t index_body_size = m_PacketList->m_List.size() * MaxIndexSegmentSize; // segment-count * max-segment-size
- Result_t result = index_body_buffer.Capacity(index_body_size);
+ Result_t result = index_body_buffer.Capacity(index_body_size);
ui64_t start_position = 0;
if ( m_CurrentSegment != 0 )
@@ -185,7 +185,7 @@ AS_02::h__AS02WriterFrame::WriteEKLVPacket(const ASDCP::FrameBuffer& FrameBuf,co
m_StreamOffset, FrameBuf, EssenceUL, Ctx, HMAC);
if ( KM_SUCCESS(result) )
- {
+ {
IndexTableSegment::IndexEntry Entry;
Entry.StreamOffset = this_stream_offset;
m_IndexWriter.PushIndexEntry(Entry);
@@ -233,7 +233,7 @@ AS_02::MXF::AS02IndexWriterCBR::WriteToFile(Kumu::FileWriter& Writer)
assert(m_Dict);
ASDCP::FrameBuffer index_body_buffer;
ui32_t index_body_size = MaxIndexSegmentSize; // segment-count * max-segment-size
- Result_t result = index_body_buffer.Capacity(index_body_size);
+ Result_t result = index_body_buffer.Capacity(index_body_size);
m_CurrentSegment = new IndexTableSegment(m_Dict);
assert(m_CurrentSegment);
@@ -306,7 +306,7 @@ AS_02::h__AS02WriterClip::HasOpenClip() const
//
Result_t
-AS_02::h__AS02WriterClip::StartClip(const byte_t* EssenceUL, AESEncContext* Ctx, HMACContext* HMAC)
+AS_02::h__AS02WriterClip::StartClip(const byte_t* EssenceUL, AESEncContext* Ctx, HMACContext*)
{
if ( Ctx != 0 )
{
@@ -368,7 +368,7 @@ AS_02::h__AS02WriterClip::FinalizeClip(ui32_t bytes_per_frame)
result = m_File.Seek(current_position);
m_ClipStart = 0;
}
-
+
return result;
}