Muxer fix for chunking file names on Linux.
Change-Id: Ica2dbfc7af64a83fc8f08d35196eabf1dd69f2f0
This commit is contained in:
parent
478b524df3
commit
13a90600ea
@ -1912,8 +1912,8 @@ bool Segment::UpdateChunkName(const char* ext, char** name) const {
|
||||
strcpy_s(str, length-strlen(ext_chk), chunking_base_name_);
|
||||
strcat_s(str, length, ext_chk);
|
||||
#else
|
||||
strcpy(chunk_name_, chunking_base_name_);
|
||||
strcat(chunk_name_, ext_chk);
|
||||
strcpy(str, chunking_base_name_);
|
||||
strcat(str, ext_chk);
|
||||
#endif
|
||||
|
||||
delete [] *name;
|
||||
|
@ -383,8 +383,8 @@ uint64 WriteVoidElement(IMkvWriter* writer, uint64 size) {
|
||||
void GetVersion(int32& major, int32& minor, int32& build, int32& revision) {
|
||||
major = 0;
|
||||
minor = 0;
|
||||
build = 0;
|
||||
revision = 1;
|
||||
build = 1;
|
||||
revision = 0;
|
||||
}
|
||||
|
||||
} // namespace mkvmuxer
|
||||
|
Loading…
x
Reference in New Issue
Block a user