Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added missing definitions

  • Loading branch information...
commit ba422b57ac791603626874fc2b4dafab3b0275ac 1 parent 35bf940
@tsipanov authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  src/smth-fragment-defs.h
  2. +2 −0  src/smth-fragment-parser.h
View
2  src/smth-fragment-defs.h
@@ -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 */
View
2  src/smth-fragment-parser.h
@@ -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 */
Please sign in to comment.
Something went wrong with that request. Please try again.