Commit 2f221b6a authored by Martin Storsjö's avatar Martin Storsjö

movenc: Define the flag bits using shifts instead of as decimal numbers

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent aae6b3b9
...@@ -168,17 +168,17 @@ typedef struct MOVMuxContext { ...@@ -168,17 +168,17 @@ typedef struct MOVMuxContext {
AVFormatContext *fc; AVFormatContext *fc;
} MOVMuxContext; } MOVMuxContext;
#define FF_MOV_FLAG_RTP_HINT 1 #define FF_MOV_FLAG_RTP_HINT (1 << 0)
#define FF_MOV_FLAG_FRAGMENT 2 #define FF_MOV_FLAG_FRAGMENT (1 << 1)
#define FF_MOV_FLAG_EMPTY_MOOV 4 #define FF_MOV_FLAG_EMPTY_MOOV (1 << 2)
#define FF_MOV_FLAG_FRAG_KEYFRAME 8 #define FF_MOV_FLAG_FRAG_KEYFRAME (1 << 3)
#define FF_MOV_FLAG_SEPARATE_MOOF 16 #define FF_MOV_FLAG_SEPARATE_MOOF (1 << 4)
#define FF_MOV_FLAG_FRAG_CUSTOM 32 #define FF_MOV_FLAG_FRAG_CUSTOM (1 << 5)
#define FF_MOV_FLAG_ISML 64 #define FF_MOV_FLAG_ISML (1 << 6)
#define FF_MOV_FLAG_FASTSTART 128 #define FF_MOV_FLAG_FASTSTART (1 << 7)
#define FF_MOV_FLAG_OMIT_TFHD_OFFSET 256 #define FF_MOV_FLAG_OMIT_TFHD_OFFSET (1 << 8)
#define FF_MOV_FLAG_DISABLE_CHPL 512 #define FF_MOV_FLAG_DISABLE_CHPL (1 << 9)
#define FF_MOV_FLAG_DEFAULT_BASE_MOOF 1024 #define FF_MOV_FLAG_DEFAULT_BASE_MOOF (1 << 10)
int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt); int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment