From 5753c25cba3c325503b6da125d9e0d56ae63cd71 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Fri, 29 Jan 2021 23:59:23 -0800 Subject: [PATCH] libcaption: Fix static keyword placement --- deps/libcaption/caption/caption.h | 2 +- deps/libcaption/caption/cea708.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/libcaption/caption/caption.h b/deps/libcaption/caption/caption.h index ee4d8a78c..a277f4924 100644 --- a/deps/libcaption/caption/caption.h +++ b/deps/libcaption/caption/caption.h @@ -99,7 +99,7 @@ static inline int caption_frame_painton(caption_frame_t* frame) { return (frame- /*! \brief \param */ -const static int _caption_frame_rollup[] = { 0, 2, 3, 4 }; +static const int _caption_frame_rollup[] = { 0, 2, 3, 4 }; static inline int caption_frame_rollup(caption_frame_t* frame) { return _caption_frame_rollup[frame->state.rup]; } /*! \brief \param diff --git a/deps/libcaption/caption/cea708.h b/deps/libcaption/caption/cea708.h index c4b35e5c5..c48d9f290 100644 --- a/deps/libcaption/caption/cea708.h +++ b/deps/libcaption/caption/cea708.h @@ -87,8 +87,8 @@ typedef struct { double timestamp; } cea708_t; -const static uint32_t GA94 = (('G' << 24) | ('A' << 16) | ('9' << 8) | '4'); -const static uint32_t DTG1 = (('D' << 24) | ('T' << 16) | ('G' << 8) | '1'); +static const uint32_t GA94 = (('G' << 24) | ('A' << 16) | ('9' << 8) | '4'); +static const uint32_t DTG1 = (('D' << 24) | ('T' << 16) | ('G' << 8) | '1'); /*! \brief \param -- GitLab