[vlc-commits] sout: remove unused sout_input_t.p_sout

Rémi Denis-Courmont git at videolan.org
Sat Oct 6 20:20:48 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct  6 21:20:27 2012 +0300| [f33e3e4b752eb19adb6dbf2f85c14fcd2f5d5cbc] | committer: Rémi Denis-Courmont

sout: remove unused sout_input_t.p_sout

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

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

diff --git a/include/vlc_sout.h b/include/vlc_sout.h
index 1147783..8c98ccf 100644
--- a/include/vlc_sout.h
+++ b/include/vlc_sout.h
@@ -144,8 +144,6 @@ enum sout_mux_query_e
 
 struct sout_input_t
 {
-    sout_instance_t *p_sout;
-
     es_format_t     *p_fmt;
     block_fifo_t    *p_fifo;
 
diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index 715bdf2..fc3589a 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -454,7 +454,6 @@ sout_input_t *sout_MuxAddStream( sout_mux_t *p_mux, es_format_t *p_fmt )
     p_input = malloc( sizeof( sout_input_t ) );
     if( !p_input )
         return NULL;
-    p_input->p_sout = p_mux->p_sout;
     p_input->p_fmt  = p_fmt;
     p_input->p_fifo = block_FifoNew();
     p_input->p_sys  = NULL;



More information about the vlc-commits mailing list