aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-02-16 20:58:09 +0100
committerMartin Storsjö <martin@martin.st>2012-02-18 21:13:35 +0200
commit3eec23f3cd7b0d8ef0a545089f75b55390a8ddb9 (patch)
tree941441ce4ffb7fdb43f448c0e1586f1c7e762fc4 /libavformat/isom.h
parent73328f24fae92eeed907a4908ca3147d874ff674 (diff)
downloadffmpeg-3eec23f3cd7b0d8ef0a545089f75b55390a8ddb9.tar.gz
mov: Use defines for trun flags
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 88eb44ae94..88cda27c43 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -164,6 +164,13 @@ void ff_mp4_parse_es_descr(AVIOContext *pb, int *es_id);
#define MOV_TFHD_DEFAULT_FLAGS 0x20
#define MOV_TFHD_DURATION_IS_EMPTY 0x010000
+#define MOV_TRUN_DATA_OFFSET 0x01
+#define MOV_TRUN_FIRST_SAMPLE_FLAGS 0x04
+#define MOV_TRUN_SAMPLE_DURATION 0x100
+#define MOV_TRUN_SAMPLE_SIZE 0x200
+#define MOV_TRUN_SAMPLE_FLAGS 0x400
+#define MOV_TRUN_SAMPLE_CTS 0x800
+
int ff_mov_read_esds(AVFormatContext *fc, AVIOContext *pb, MOVAtom atom);
enum CodecID ff_mov_get_lpcm_codec_id(int bps, int flags);