浏览代码

libcaption: Fix static keyword placement

jpark37 4 年之前
父节点
当前提交
5753c25cba
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      deps/libcaption/caption/caption.h
  2. 2 2
      deps/libcaption/caption/cea708.h

+ 1 - 1
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

+ 2 - 2
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