mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +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;
|
||||
|
||||
DataBuffer &data = block.GetBuffer(0);
|
||||
memory_c af_s((unsigned char *)s = (char *)safemalloc(data.Size() + 1), 0,
|
||||
true);
|
||||
s = (char *)safemalloc(data.Size() + 1);
|
||||
memory_c af_s((unsigned char *)s, 0, true);
|
||||
memcpy(s, data.Buffer(), data.Size());
|
||||
s[data.Size()] = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user