Skip to content

Commit

Permalink
test should not spam the filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
sannies committed Dec 21, 2014
1 parent e6dca02 commit 0a2ce0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public void freeze() throws IOException {
DefaultMp4Builder mp4Builder = new DefaultMp4Builder();
Container isoFile = mp4Builder.build(m);

WritableByteChannel fcOut = new FileOutputStream("h264-sample.mp4").getChannel();
/* WritableByteChannel fcOut = new FileOutputStream("h264-sample.mp4").getChannel();
isoFile.writeContainer(fcOut);
fcOut.close();
fcOut.close();*/


IsoFile isoFileReference = new IsoFile(getClass().getProtectionDomain().getCodeSource().getLocation().getFile() + "com/googlecode/mp4parser/authoring/tracks/h264-sample.mp4");
Expand Down

0 comments on commit 0a2ce0d

Please sign in to comment.