[FFmpeg-cvslog] avcodec/avcodec: Replace AV_CODEC_FLAG* values by 1 << C style for consistency
Michael Niedermayer
git at videolan.org
Wed Aug 5 15:55:56 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Aug 5 15:24:59 2015 +0200| [4ab1f33daf4813ad9352c08f2fd37cc868371f0f] | committer: Michael Niedermayer
avcodec/avcodec: Replace AV_CODEC_FLAG* values by 1 << C style for consistency
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ab1f33daf4813ad9352c08f2fd37cc868371f0f
---
libavcodec/avcodec.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 6b824d5..544f85c 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)
More information about the ffmpeg-cvslog
mailing list