OSDN Git Service
(root)
/
rec10
/
rec10-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement ch scan system.(alpha)
[rec10/rec10-git.git]
/
jTsSplitter
/
trunk
/
src
/
jtssplitter
/
Tsfile.java
diff --git
a/jTsSplitter/trunk/src/jtssplitter/Tsfile.java
b/jTsSplitter/trunk/src/jtssplitter/Tsfile.java
index
dfa2b74
..
722f878
100644
(file)
--- a/
jTsSplitter/trunk/src/jtssplitter/Tsfile.java
+++ b/
jTsSplitter/trunk/src/jtssplitter/Tsfile.java
@@
-259,6
+259,7
@@
public class Tsfile {
try {
in = new FileInputStream(fpath);
int imax = 1000;
try {
in = new FileInputStream(fpath);
int imax = 1000;
+ int mmax = 20000;
for (int i = 0; i < imax; i++) {
if (in.read(tb) == -1) {
in.close();
for (int i = 0; i < imax; i++) {
if (in.read(tb) == -1) {
in.close();
@@
-277,6
+278,9
@@
public class Tsfile {
retti.add(patdd.Program_TABLE);
}
}
retti.add(patdd.Program_TABLE);
}
}
+ if (i>imax-10 && pat.size()==0 && i<mmax){
+ imax=imax+100;
+ }
}
} catch (IOException ex) {
Logger.getLogger(Tsfile.class.getName()).log(Level.SEVERE, null, ex);
}
} catch (IOException ex) {
Logger.getLogger(Tsfile.class.getName()).log(Level.SEVERE, null, ex);