mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Fixes for compilation with gcc 2.95.
This commit is contained in:
parent
bdedb66d26
commit
3df07b41a9
@ -207,7 +207,7 @@ void extract_attachments(const char *file_name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_element(l0, 0, "Next level 0 element is not a segment but %s",
|
show_element(l0, 0, "Next level 0 element is not a segment but %s",
|
||||||
typeid(*l0).name());
|
l0->Generic().DebugName);
|
||||||
|
|
||||||
l0->SkipData(*es, l0->Generic().Context);
|
l0->SkipData(*es, l0->Generic().Context);
|
||||||
delete l0;
|
delete l0;
|
||||||
|
@ -120,7 +120,7 @@ void extract_chapters(const char *file_name, bool chapter_format_simple) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_element(l0, 0, "Next level 0 element is not a segment but %s",
|
show_element(l0, 0, "Next level 0 element is not a segment but %s",
|
||||||
typeid(*l0).name());
|
l0->Generic().DebugName);
|
||||||
|
|
||||||
l0->SkipData(*es, l0->Generic().Context);
|
l0->SkipData(*es, l0->Generic().Context);
|
||||||
delete l0;
|
delete l0;
|
||||||
|
@ -120,7 +120,7 @@ void extract_tags(const char *file_name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_element(l0, 0, "Next level 0 element is not a segment but %s",
|
show_element(l0, 0, "Next level 0 element is not a segment but %s",
|
||||||
typeid(*l0).name());
|
l0->Generic().DebugName);
|
||||||
|
|
||||||
l0->SkipData(*es, l0->Generic().Context);
|
l0->SkipData(*es, l0->Generic().Context);
|
||||||
delete l0;
|
delete l0;
|
||||||
|
@ -818,7 +818,7 @@ void real_reader_c::assemble_packet(real_demuxer_t *dmx, unsigned char *p,
|
|||||||
vpkg_offset = vpkg_length - vpkg_offset;
|
vpkg_offset = vpkg_length - vpkg_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
len = min(bc.get_len(), vpkg_length - vpkg_offset);
|
len = min(bc.get_len(), (int)(vpkg_length - vpkg_offset));
|
||||||
segment.offset = vpkg_offset;
|
segment.offset = vpkg_offset;
|
||||||
segment.data = (unsigned char *)safemalloc(len);
|
segment.data = (unsigned char *)safemalloc(len);
|
||||||
segment.size = len;
|
segment.size = len;
|
||||||
|
Loading…
Reference in New Issue
Block a user