Browse Source

libcaption: Fix static keyword placement

jpark37 4 years ago
parent
commit
5753c25cba
2 changed files with 3 additions and 3 deletions
  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