[FFmpeg-devel] [PATCH 03/14] avformat/matroska: use more consistent spacing in enums
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Apr 3 20:09:10 EEST 2020
Steve Lhomme:
> From: Steve Lhomme <robux4 at ycbcr.xyz>
>
> ---
> libavformat/matroska.h | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/libavformat/matroska.h b/libavformat/matroska.h
> index e177cd027f..5520e9ce8f 100644
> --- a/libavformat/matroska.h
> +++ b/libavformat/matroska.h
> @@ -284,18 +284,18 @@ typedef enum {
> } MatroskaTrackEncodingCompAlgo;
>
> typedef enum {
> - MATROSKA_VIDEO_INTERLACE_FLAG_UNDETERMINED = 0,
> - MATROSKA_VIDEO_INTERLACE_FLAG_INTERLACED = 1,
> - MATROSKA_VIDEO_INTERLACE_FLAG_PROGRESSIVE = 2,
> + MATROSKA_VIDEO_INTERLACE_FLAG_UNDETERMINED = 0,
> + MATROSKA_VIDEO_INTERLACE_FLAG_INTERLACED = 1,
> + MATROSKA_VIDEO_INTERLACE_FLAG_PROGRESSIVE = 2,
> } MatroskaVideoInterlaceFlag;
>
> typedef enum {
> - MATROSKA_VIDEO_FIELDORDER_PROGRESSIVE = 0,
> - MATROSKA_VIDEO_FIELDORDER_TT = 1,
> - MATROSKA_VIDEO_FIELDORDER_UNDETERMINED = 2,
> - MATROSKA_VIDEO_FIELDORDER_BB = 6,
> - MATROSKA_VIDEO_FIELDORDER_TB = 9,
> - MATROSKA_VIDEO_FIELDORDER_BT = 14,
> + MATROSKA_VIDEO_FIELDORDER_PROGRESSIVE = 0,
> + MATROSKA_VIDEO_FIELDORDER_TT = 1,
> + MATROSKA_VIDEO_FIELDORDER_UNDETERMINED = 2,
> + MATROSKA_VIDEO_FIELDORDER_BB = 6,
> + MATROSKA_VIDEO_FIELDORDER_TB = 9,
> + MATROSKA_VIDEO_FIELDORDER_BT = 14,
> } MatroskaVideoFieldOrder;
>
> typedef enum {
>
Actually FFmpeg uses an indent size of four. It seems that most enums
already abide by this and most of those that don't are in
libavformat/matroska.h.
- Andreas
More information about the ffmpeg-devel
mailing list