[vlc-devel] [PATCH 30/30] sout: remove sout_packetizer_input_t.p_sout

RĂ©mi Denis-Courmont remi at remlab.net
Sat Oct 10 21:14:15 CEST 2020


---
 src/stream_output/stream_output.c | 1 -
 src/stream_output/stream_output.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index a5af737eac..70b286910d 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -169,7 +169,6 @@ sout_packetizer_input_t *sout_InputNew( sout_instance_t *p_sout,
     if( !p_fmt->i_codec || !(p_input = malloc(sizeof(sout_packetizer_input_t))) )
         return NULL;
 
-    p_input->p_sout = p_sout;
     p_input->b_flushed = false;
 
     msg_Dbg(p_sout->p_stream, "adding an output ES for `%4.4s` (%p)",
diff --git a/src/stream_output/stream_output.h b/src/stream_output/stream_output.h
index 9bee89824d..b22a297865 100644
--- a/src/stream_output/stream_output.h
+++ b/src/stream_output/stream_output.h
@@ -45,8 +45,6 @@ struct sout_instance_t
  ****************************************************************************/
 struct sout_packetizer_input_t
 {
-    sout_instance_t     *p_sout;
-
     void                *id;
     bool                 b_flushed;
 };
-- 
2.28.0



More information about the vlc-devel mailing list