mkvmuxerutil::EbmlDateElementSize: remove value param
this is unused as the size of dates is fixed: Date - signed 8 octets integer in nanoseconds with 0 indicating the precise beginning of the millennium (at 2001-01-01T00:00:00,000000000 UTC) Change-Id: I7d44c92a6b746e92e4041238b110115b56e38a93
This commit is contained in:
parent
ff572b5399
commit
f99f3b20fb
@ -1899,7 +1899,7 @@ bool SegmentInfo::Write(IMkvWriter* writer) {
|
||||
if (duration_ > 0.0)
|
||||
size += EbmlElementSize(kMkvDuration, static_cast<float>(duration_));
|
||||
if (date_utc_ != LLONG_MIN)
|
||||
size += EbmlDateElementSize(kMkvDateUTC, date_utc_);
|
||||
size += EbmlDateElementSize(kMkvDateUTC);
|
||||
size += EbmlElementSize(kMkvMuxingApp, muxing_app_);
|
||||
size += EbmlElementSize(kMkvWritingApp, writing_app_);
|
||||
|
||||
|
@ -295,7 +295,7 @@ uint64 EbmlElementSize(uint64 type, const uint8* value, uint64 size) {
|
||||
return ebml_size;
|
||||
}
|
||||
|
||||
uint64 EbmlDateElementSize(uint64 type, int64 value) {
|
||||
uint64 EbmlDateElementSize(uint64 type) {
|
||||
// Size of EBML ID
|
||||
uint64 ebml_size = GetUIntSize(type);
|
||||
|
||||
|
@ -33,7 +33,7 @@ uint64 EbmlElementSize(uint64 type, uint64 value);
|
||||
uint64 EbmlElementSize(uint64 type, float value);
|
||||
uint64 EbmlElementSize(uint64 type, const char* value);
|
||||
uint64 EbmlElementSize(uint64 type, const uint8* value, uint64 size);
|
||||
uint64 EbmlDateElementSize(uint64 type, int64 value);
|
||||
uint64 EbmlDateElementSize(uint64 type);
|
||||
|
||||
// Creates an EBML coded number from |value| and writes it out. The size of
|
||||
// the coded number is determined by the value of |value|. |value| must not
|
||||
|
Loading…
x
Reference in New Issue
Block a user