胡斌

fix compile error in linux

@@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
4 #include <iostream> 4 #include <iostream>
5 #include <fstream> 5 #include <fstream>
6 #include <vector> 6 #include <vector>
  7 +#include <string.h>
7 8
8 bool only_print = false; 9 bool only_print = false;
9 using namespace std; 10 using namespace std;
@@ -129,7 +130,7 @@ void concate_files(vector<string > merged_files) @@ -129,7 +130,7 @@ void concate_files(vector<string > merged_files)
129 strcat(buf, " "); 130 strcat(buf, " ");
130 strcat(buf, merged_files[0].c_str()); 131 strcat(buf, merged_files[0].c_str());
131 } 132 }
132 - strcat(buf ">"); 133 + strcat(buf, ">");
133 #endif // WIN32 134 #endif // WIN32
134 strcat(buf, " m.ts"); 135 strcat(buf, " m.ts");
135 run_shell_cmd(buf); 136 run_shell_cmd(buf);