aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-05 15:24:59 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-05 15:45:50 +0200
commit4ab1f33daf4813ad9352c08f2fd37cc868371f0f (patch)
treee574de68430d8a2110d437efa2b04fedb6a74275
parent500bfbe27ae22f755591472cefd26a67f7fea0aa (diff)
downloadffmpeg-4ab1f33daf4813ad9352c08f2fd37cc868371f0f.tar.gz
avcodec/avcodec: Replace AV_CODEC_FLAG* values by 1 << C style for consistency
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 6b824d5281..544f85c5dc 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -812,7 +812,7 @@ typedef struct RcOverride{
/**
* timecode is in drop frame format. DEPRECATED!!!!
*/
-#define AV_CODEC_FLAG2_DROP_FRAME_TIMECODE 0x00002000
+#define AV_CODEC_FLAG2_DROP_FRAME_TIMECODE (1 << 13)
/**
* Input bitstream might be truncated at a packet boundaries
@@ -827,15 +827,15 @@ typedef struct RcOverride{
/**
* Show all frames before the first keyframe
*/
-#define AV_CODEC_FLAG2_SHOW_ALL 0x00400000
+#define AV_CODEC_FLAG2_SHOW_ALL (1 << 22)
/**
* Export motion vectors through frame side data
*/
-#define AV_CODEC_FLAG2_EXPORT_MVS 0x10000000
+#define AV_CODEC_FLAG2_EXPORT_MVS (1 << 28)
/**
* Do not skip samples and export skip information as frame side data
*/
-#define AV_CODEC_FLAG2_SKIP_MANUAL 0x20000000
+#define AV_CODEC_FLAG2_SKIP_MANUAL (1 << 29)
/* Unsupported options :
* Syntax Arithmetic coding (SAC)