[vlc-devel] [PATCH 3/3] vlc_common: move decoder_synchro_t to synchro.h

Marvin Scholz epirat07 at gmail.com
Sat Dec 21 04:37:39 CET 2019


---
 include/vlc_common.h    | 1 -
 modules/codec/synchro.h | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index e4c5cd85c9..bc0fa54349 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -408,7 +408,6 @@ typedef struct session_descriptor_t session_descriptor_t;
 
 /* Decoders */
 typedef struct decoder_t         decoder_t;
-typedef struct decoder_synchro_t decoder_synchro_t;
 
 /* Encoders */
 typedef struct encoder_t      encoder_t;
diff --git a/modules/codec/synchro.h b/modules/codec/synchro.h
index e7f984a0a0..811ecd83e8 100644
--- a/modules/codec/synchro.h
+++ b/modules/codec/synchro.h
@@ -25,6 +25,8 @@
 /*****************************************************************************
  * decoder_synchro_t : timers for the video synchro
  *****************************************************************************/
+typedef struct decoder_synchro_t decoder_synchro_t;
+
 /* Read the discussion on top of synchro.c for more information. */
 /* Pictures types */
 #define I_CODING_TYPE           1
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list