diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-09-23 14:58:04 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2012-09-24 10:00:17 -0700 |
commit | 9fcbbdafbb20691e1d519ee1ab35f8a5889bef15 (patch) | |
tree | 8fc971e8e3fd520e5d60a3a77f757ae4f858b36f /isoparser/src/main/java/com/googlecode/mp4parser/FullContainerBox.java | |
parent | d6072f0a479bb3bb6fe1ef2825b9ee6187827d96 (diff) | |
download | mp4parser-9fcbbdafbb20691e1d519ee1ab35f8a5889bef15.tar.gz |
Working around the aspectJ implementation.
Instead of fully implementing the aspectJ, here we just parse the Box at the
constructor.
The code originially use aspects to implement the parse on demand for various
member functions. However, we can actually just parse in the constructor since
trimming need to parse most of the boxes anyway.
bug:7093055
Change-Id: If53fa9a413d561be80dbd6c4c37b0a14a9cec610
Diffstat (limited to 'isoparser/src/main/java/com/googlecode/mp4parser/FullContainerBox.java')
-rw-r--r-- | isoparser/src/main/java/com/googlecode/mp4parser/FullContainerBox.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/isoparser/src/main/java/com/googlecode/mp4parser/FullContainerBox.java b/isoparser/src/main/java/com/googlecode/mp4parser/FullContainerBox.java index d16e47d..30eb285 100644 --- a/isoparser/src/main/java/com/googlecode/mp4parser/FullContainerBox.java +++ b/isoparser/src/main/java/com/googlecode/mp4parser/FullContainerBox.java @@ -92,8 +92,9 @@ public abstract class FullContainerBox extends AbstractFullBox implements Contai @Override public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { - super.parse(readableByteChannel, header, contentSize, boxParser); this.boxParser = boxParser; + super.parse(readableByteChannel, header, contentSize, boxParser); + } @Override |