mkvmuxer: Cosmetics.

- Use c++ versions of C library includes.
- Make Segment::~Segment non-virtual.

Change-Id: I868c1f3769b5a87362efe99383cca880586b57f3
This commit is contained in:
Tom Finegan 2012-01-19 15:25:38 -05:00
parent a20f4255c7
commit 01d5924817
2 changed files with 5 additions and 7 deletions

View File

@ -8,11 +8,10 @@
#include "mkvmuxer.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <new>
#include "mkvmuxerutil.hpp"
@ -43,7 +42,6 @@ bool WriteEbmlHeader(IMkvWriter* writer) {
if (!WriteEbmlMasterElement(writer, kMkvEBML, size))
return false;
if (!WriteEbmlElement(writer, kMkvEBMLVersion, 1ULL))
return false;
if (!WriteEbmlElement(writer, kMkvEBMLReadVersion, 1ULL))

View File

@ -609,7 +609,7 @@ class Segment {
const static uint64 kDefaultMaxClusterDuration = 30000000000ULL;
Segment();
virtual ~Segment();
~Segment();
// Initializes |SegmentInfo| and returns result. Always returns false when
// |ptr_writer| is NULL.