[vlc-commits] sout: remove fmt storage from sout packetizers

Francois Cartegnie git at videolan.org
Fri Jul 7 18:05:51 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jul  7 15:52:46 2017 +0200| [0240e39b9aebccb918d53e4ed6ad99148d314d62] | committer: Francois Cartegnie

sout: remove fmt storage from sout packetizers

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

 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 5e4ed47594..675df86668 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -163,7 +163,6 @@ sout_packetizer_input_t *sout_InputNew( sout_instance_t *p_sout,
         return NULL;
 
     p_input->p_sout = p_sout;
-    p_input->p_fmt  = p_fmt;
 
     msg_Dbg( p_sout, "adding a new sout input for `%4.4s` (sout_input: %p)",
              (char*) &p_fmt->i_codec, (void *)p_input );
diff --git a/src/stream_output/stream_output.h b/src/stream_output/stream_output.h
index f1e0fd76c5..a138fee840 100644
--- a/src/stream_output/stream_output.h
+++ b/src/stream_output/stream_output.h
@@ -37,8 +37,6 @@ struct sout_packetizer_input_t
 {
     sout_instance_t     *p_sout;
 
-    es_format_t         *p_fmt;
-
     sout_stream_id_sys_t    *id;
 };
 



More information about the vlc-commits mailing list