Permalink
Browse files

Added missing definitions

  • Loading branch information...
1 parent 35bf940 commit ba422b57ac791603626874fc2b4dafab3b0275ac @tsipanov committed May 18, 2011
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/smth-fragment-defs.h
  2. +2 −0 src/smth-fragment-parser.h
View
@@ -67,6 +67,8 @@ typedef struct
/** The tfhd Box has a DefaultSampleFlags field */
#define TFHD_DEFAULT_SAMPLE_FLAGS_PRESENT (1<<5)
+/** The TrunBox has a DataOffset field */
+#define TRUN_DATA_OFFSET_PRESENT (1<<0)
/** The TrunBox has a FirstSampleFlags field */
#define TRUN_FIRST_SAMPLE_FLAGS_PRESENT (1<<2)
/** The TrunBox has a SampleDuration field */
@@ -175,6 +175,8 @@ typedef struct
* by the values of the DefaultSampleSize and SampleSize fields
* in the TrunBox. */
byte_t *data;
+
+ length_t data_offset;
} Fragment;
/** The fragment was successfully parsed */

0 comments on commit ba422b5

Please sign in to comment.