[vlc-commits] sout: remove sout_packetizer_input_t.p_sout

Rémi Denis-Courmont git at videolan.org
Sun Oct 11 21:23:25 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 10 21:52:59 2020 +0300| [99d8222d46639c29a799abd844aa54eea6346266] | committer: Rémi Denis-Courmont

sout: remove sout_packetizer_input_t.p_sout

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

 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;
 };



More information about the vlc-commits mailing list