mkvmuxer: Cosmetics.
- Use c++ versions of C library includes. - Make Segment::~Segment non-virtual. Change-Id: I868c1f3769b5a87362efe99383cca880586b57f3
This commit is contained in:
parent
a20f4255c7
commit
01d5924817
10
mkvmuxer.cpp
10
mkvmuxer.cpp
@ -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))
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user