summaryrefslogtreecommitdiff
path: root/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/.svn/text-base/TimeCodeBox.java.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/.svn/text-base/TimeCodeBox.java.svn-base')
-rw-r--r--isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/.svn/text-base/TimeCodeBox.java.svn-base54
1 files changed, 0 insertions, 54 deletions
diff --git a/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/.svn/text-base/TimeCodeBox.java.svn-base b/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/.svn/text-base/TimeCodeBox.java.svn-base
deleted file mode 100644
index e15c9f0..0000000
--- a/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/.svn/text-base/TimeCodeBox.java.svn-base
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2012 Sebastian Annies, Hamburg
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.googlecode.mp4parser.boxes.apple;
-
-import com.coremedia.iso.boxes.Box;
-import com.coremedia.iso.boxes.sampleentry.SampleEntry;
-
-import java.nio.ByteBuffer;
-
-public class TimeCodeBox extends SampleEntry {
- byte[] data;
-
-
- public TimeCodeBox() {
- super("tmcd");
- }
-
- @Override
- protected long getContentSize() {
- long size = 26;
- for (Box box : boxes) {
- size += box.getSize();
- }
- return size;
- }
-
- @Override
- public void _parseDetails(ByteBuffer content) {
- _parseReservedAndDataReferenceIndex(content);
- data = new byte[18];
- content.get(data);
- _parseChildBoxes(content);
- }
-
- @Override
- protected void getContent(ByteBuffer byteBuffer) {
- _writeReservedAndDataReferenceIndex(byteBuffer);
- byteBuffer.put(data);
- _writeChildBoxes(byteBuffer);
- }
-}