Remove unused code
This commit is contained in:
parent
73db9142b8
commit
6dc34d0152
2 changed files with 3 additions and 5 deletions
|
|
@ -541,7 +541,7 @@ public class FlvMetadata {
|
||||||
if (type != 8) {
|
if (type != 8) {
|
||||||
throw new FlvFormatException("Not an ECMA array: " + type);
|
throw new FlvFormatException("Not an ECMA array: " + type);
|
||||||
}
|
}
|
||||||
int arrayLen = readEcmaArrayHeader(in);
|
readEcmaArrayHeader(in);
|
||||||
while (!isLookingAtEnd(in)) {
|
while (!isLookingAtEnd(in)) {
|
||||||
readProperty(in);
|
readProperty(in);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -521,8 +521,7 @@ public class MovieCoder {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// TODO (knut 05 JUL 2011) Come up with a better interface for supporting
|
// TODO (knut 05 JUL 2011) Come up with a better interface for supporting range requests etcetera
|
||||||
// range requests etcetera
|
|
||||||
public void stream(File file, Thumbnail thumbnail, String size, OutputStream out) {
|
public void stream(File file, Thumbnail thumbnail, String size, OutputStream out) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
@ -569,7 +568,6 @@ public class MovieCoder {
|
||||||
class VideoStreamer {
|
class VideoStreamer {
|
||||||
|
|
||||||
private int chunkNo = 0;
|
private int chunkNo = 0;
|
||||||
private int lastChunk = -1;
|
|
||||||
private EncodingProcess ep;
|
private EncodingProcess ep;
|
||||||
private Chunk chunk;
|
private Chunk chunk;
|
||||||
private String key;
|
private String key;
|
||||||
|
|
@ -588,7 +586,7 @@ public class MovieCoder {
|
||||||
// The end of the range is also a matter of counting the bytes.
|
// The end of the range is also a matter of counting the bytes.
|
||||||
}
|
}
|
||||||
|
|
||||||
public void stream(OutputStream out) throws IOException, InterruptedException {
|
public void stream(OutputStream out) throws IOException {
|
||||||
|
|
||||||
while (!done) {
|
while (!done) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue