[vlc-commits] sout: privatise sout_packetizer_input_t

Rémi Denis-Courmont git at videolan.org
Mon Oct 12 17:05:31 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 11 21:21:55 2020 +0300| [8db0a93ff32c389220743c70847f583d63874093] | committer: Rémi Denis-Courmont

sout: privatise sout_packetizer_input_t

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8db0a93ff32c389220743c70847f583d63874093
---

 src/stream_output/stream_output.c | 7 +++++++
 src/stream_output/stream_output.h | 9 ---------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index e0769dc749..ce46cf3ea4 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -160,6 +160,13 @@ bool sout_instance_ControlsPace( sout_instance_t *sout )
 /*****************************************************************************
  * Packetizer/Input
  *****************************************************************************/
+
+struct sout_packetizer_input_t
+{
+    void                *id;
+    bool                 b_flushed;
+};
+
 sout_packetizer_input_t *sout_InputNew( sout_instance_t *p_sout,
                                         const es_format_t *p_fmt )
 {
diff --git a/src/stream_output/stream_output.h b/src/stream_output/stream_output.h
index b22a297865..98f192e807 100644
--- a/src/stream_output/stream_output.h
+++ b/src/stream_output/stream_output.h
@@ -40,15 +40,6 @@ struct sout_instance_t
     sout_stream_t       *p_stream;
 };
 
-/****************************************************************************
- * sout_packetizer_input_t: p_sout <-> p_packetizer
- ****************************************************************************/
-struct sout_packetizer_input_t
-{
-    void                *id;
-    bool                 b_flushed;
-};
-
 sout_instance_t *sout_NewInstance( vlc_object_t *, const char * );
 #define sout_NewInstance(a,b) sout_NewInstance(VLC_OBJECT(a),b)
 void sout_DeleteInstance( sout_instance_t * );



More information about the vlc-commits mailing list