summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-02-16 20:48:30 +0100
committerMartin Storsjö <martin@martin.st>2012-02-18 21:13:33 +0200
commit73328f24fae92eeed907a4908ca3147d874ff674 (patch)
treef2e47ce2e3365f9c9cb0ed9d8e7dbe25142040cb /libavformat/isom.h
parent6d702dc072ffc255cd0f709132e55661698313e7 (diff)
mov: Use defines for tfhd 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 e74a552644..88eb44ae94 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -157,6 +157,13 @@ void ff_mp4_parse_es_descr(AVIOContext *pb, int *es_id);
#define MP4DecSpecificDescrTag 0x05
#define MP4SLDescrTag 0x06
+#define MOV_TFHD_BASE_DATA_OFFSET 0x01
+#define MOV_TFHD_STSD_ID 0x02
+#define MOV_TFHD_DEFAULT_DURATION 0x08
+#define MOV_TFHD_DEFAULT_SIZE 0x10
+#define MOV_TFHD_DEFAULT_FLAGS 0x20
+#define MOV_TFHD_DURATION_IS_EMPTY 0x010000
+
int ff_mov_read_esds(AVFormatContext *fc, AVIOContext *pb, MOVAtom atom);
enum CodecID ff_mov_get_lpcm_codec_id(int bps, int flags);