[vlc-commits] ts: do not set same field twice

Petri Hintukainen git at videolan.org
Thu Feb 6 15:32:09 CET 2014


vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Wed Feb  5 00:37:17 2014 +0200| [fe1ac6e30b60ae826443d8508c84fce7319e7000] | committer: Rafaël Carré

ts: do not set same field twice

Signed-off-by: Rafaël Carré <funman at videolan.org>

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

 modules/demux/ts.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 0d85b8e..1c314bc 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -567,7 +567,6 @@ static int Open( vlc_object_t *p_this )
     if( !p_sys )
         return VLC_ENOMEM;
     memset( p_sys, 0, sizeof( demux_sys_t ) );
-    p_sys->i_packet_size = i_packet_size;
     vlc_mutex_init( &p_sys->csa_lock );
 
     p_sys->buffer = NULL;



More information about the vlc-commits mailing list