From 4ab1f33daf4813ad9352c08f2fd37cc868371f0f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 5 Aug 2015 15:24:59 +0200 Subject: [PATCH] avcodec/avcodec: Replace AV_CODEC_FLAG* values by 1 << C style for consistency Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 8 ++++---- 1 file 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)