summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-03 11:52:52 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-03 11:52:55 +0100
commitea0b9218f4a60e1e2591bcc1fa745b43ea0411bf (patch)
treec27ddaab7b2272a0ce9307138baf6e184aaa4a62 /libavformat/movenc.h
parentf0158e6f0cc1bd6bf5d0485a325bdc654fcd3328 (diff)
parent2f221b6a9365aa400061e16266f2d1242f7169f8 (diff)
Merge commit '2f221b6a9365aa400061e16266f2d1242f7169f8'
* commit '2f221b6a9365aa400061e16266f2d1242f7169f8': movenc: Define the flag bits using shifts instead of as decimal numbers Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index cadb449368..8490a4253d 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -185,17 +185,17 @@ typedef struct MOVMuxContext {
AVFormatContext *fc;
} MOVMuxContext;
-#define FF_MOV_FLAG_RTP_HINT 1
-#define FF_MOV_FLAG_FRAGMENT 2
-#define FF_MOV_FLAG_EMPTY_MOOV 4
-#define FF_MOV_FLAG_FRAG_KEYFRAME 8
-#define FF_MOV_FLAG_SEPARATE_MOOF 16
-#define FF_MOV_FLAG_FRAG_CUSTOM 32
-#define FF_MOV_FLAG_ISML 64
-#define FF_MOV_FLAG_FASTSTART 128
-#define FF_MOV_FLAG_OMIT_TFHD_OFFSET 256
-#define FF_MOV_FLAG_DISABLE_CHPL 512
-#define FF_MOV_FLAG_DEFAULT_BASE_MOOF 1024
+#define FF_MOV_FLAG_RTP_HINT (1 << 0)
+#define FF_MOV_FLAG_FRAGMENT (1 << 1)
+#define FF_MOV_FLAG_EMPTY_MOOV (1 << 2)
+#define FF_MOV_FLAG_FRAG_KEYFRAME (1 << 3)
+#define FF_MOV_FLAG_SEPARATE_MOOF (1 << 4)
+#define FF_MOV_FLAG_FRAG_CUSTOM (1 << 5)
+#define FF_MOV_FLAG_ISML (1 << 6)
+#define FF_MOV_FLAG_FASTSTART (1 << 7)
+#define FF_MOV_FLAG_OMIT_TFHD_OFFSET (1 << 8)
+#define FF_MOV_FLAG_DISABLE_CHPL (1 << 9)
+#define FF_MOV_FLAG_DEFAULT_BASE_MOOF (1 << 10)
int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt);