Compilation fixes for MSVC. Patch by Steve Lhomme <steve ! lhomme () free ! fr>

This commit is contained in:
Moritz Bunkus 2005-01-12 13:51:02 +00:00
parent 578fec2546
commit d086bf4325
2 changed files with 11 additions and 5 deletions

View File

@ -182,6 +182,12 @@
<File
RelativePath=".\src\common\xml_element_parser.cpp">
</File>
<File
RelativePath=".\src\common\xml_element_writer.cpp">
</File>
<File
RelativePath=".\src\common\xml_element_writer.h">
</File>
</Filter>
<Filter
Name="Header Files"

View File

@ -692,6 +692,11 @@ handle_data(KaxBlock *block,
ssa_line_c ssa_line;
rmff_frame_t *rmf_frame;
static const char *kax_ssa_fields[10] = {
"readorder", "layer", "style", "name", "marginl", "marginr",
"marginv", "effect", "text", NULL
};
track = find_track(block->TrackNum());
if ((track == NULL) || !track->in_use){
delete block;
@ -789,11 +794,6 @@ handle_data(KaxBlock *block,
break;
case FILE_TYPE_SSA:
static const char *kax_ssa_fields[10] = {
"readorder", "layer", "style", "name", "marginl", "marginr",
"marginv", "effect", "text", NULL
};
if ((end == start) && !track->warning_printed) {
mxwarn(_("Subtitle track %lld is missing some duration elements. "
"Please check the resulting SSA/ASS file for entries that "