Permalink
Browse files

1Mb should be enough for everyone

  • Loading branch information...
andreychernih committed Jan 3, 2014
1 parent 80d834d commit 3028acba3cddec58a60de8f40ba7a7a328159642
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jcodec/containers/mp4/MP4Util.java
@@ -136,7 +136,7 @@ public static void writeMovie(File f, MovieBox movie) throws IOException {
}
public static void writeMovie(SeekableByteChannel out, MovieBox movie) throws IOException {
ByteBuffer buf = ByteBuffer.allocate(16 * 1024 * 1024);
ByteBuffer buf = ByteBuffer.allocate(1024 * 1024);
movie.write(buf);
buf.flip();
out.write(buf);

0 comments on commit 3028acb

Please sign in to comment.