diff options
author | Martin Storsjö <martin@martin.st> | 2012-02-16 21:12:12 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-02-18 21:13:36 +0200 |
commit | 5be805d38cb43e6f0b85941f75946d09bc8cc13f (patch) | |
tree | fb9fb4ce920efd1285c1e1965dd1d82387359e29 /libavformat/isom.h | |
parent | 3eec23f3cd7b0d8ef0a545089f75b55390a8ddb9 (diff) | |
download | ffmpeg-5be805d38cb43e6f0b85941f75946d09bc8cc13f.tar.gz |
mov: Use defines for sample flags in fragments
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r-- | libavformat/isom.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h index 88cda27c43..32c4b3fd1d 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -171,6 +171,16 @@ void ff_mp4_parse_es_descr(AVIOContext *pb, int *es_id); #define MOV_TRUN_SAMPLE_FLAGS 0x400 #define MOV_TRUN_SAMPLE_CTS 0x800 +#define MOV_FRAG_SAMPLE_FLAG_DEGRADATION_PRIORITY_MASK 0x0000ffff +#define MOV_FRAG_SAMPLE_FLAG_IS_NON_SYNC 0x00010000 +#define MOV_FRAG_SAMPLE_FLAG_PADDING_MASK 0x000e0000 +#define MOV_FRAG_SAMPLE_FLAG_REDUNDANCY_MASK 0x00300000 +#define MOV_FRAG_SAMPLE_FLAG_DEPENDED_MASK 0x00c00000 +#define MOV_FRAG_SAMPLE_FLAG_DEPENDS_MASK 0x03000000 + +#define MOV_FRAG_SAMPLE_FLAG_DEPENDS_NO 0x02000000 +#define MOV_FRAG_SAMPLE_FLAG_DEPENDS_YES 0x01000000 + int ff_mov_read_esds(AVFormatContext *fc, AVIOContext *pb, MOVAtom atom); enum CodecID ff_mov_get_lpcm_codec_id(int bps, int flags); |