mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Make gcc 4 happy.
This commit is contained in:
parent
75279b5a81
commit
551760c86d
@ -197,8 +197,8 @@ xtr_ssa_c::handle_block(KaxBlock &block,
|
|||||||
end = start + duration / 1000000;
|
end = start + duration / 1000000;
|
||||||
|
|
||||||
DataBuffer &data = block.GetBuffer(0);
|
DataBuffer &data = block.GetBuffer(0);
|
||||||
memory_c af_s((unsigned char *)s = (char *)safemalloc(data.Size() + 1), 0,
|
s = (char *)safemalloc(data.Size() + 1);
|
||||||
true);
|
memory_c af_s((unsigned char *)s, 0, true);
|
||||||
memcpy(s, data.Buffer(), data.Size());
|
memcpy(s, data.Buffer(), data.Size());
|
||||||
s[data.Size()] = 0;
|
s[data.Size()] = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user