[vlc-commits] access: remove duplicated info.i_update initialization (refs #18504)

Rémi Denis-Courmont git at videolan.org
Tue Dec 19 18:38:05 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 17 16:22:57 2017 +0200| [c8c04d437208964365882f9126302c0190a87f3a] | committer: Rémi Denis-Courmont

access: remove duplicated info.i_update initialization (refs #18504)

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

 modules/access/avcapture.m  | 1 -
 modules/access/dc1394.c     | 1 -
 modules/access/decklink.cpp | 1 -
 modules/access/imem.c       | 1 -
 modules/access/oss.c        | 1 -
 modules/access/qtsound.m    | 1 -
 modules/access/v4l2/demux.c | 1 -
 modules/access/v4l2/radio.c | 1 -
 8 files changed, 8 deletions(-)

diff --git a/modules/access/avcapture.m b/modules/access/avcapture.m
index 6953a02200..27bedab916 100644
--- a/modules/access/avcapture.m
+++ b/modules/access/avcapture.m
@@ -267,7 +267,6 @@ static int Open(vlc_object_t *p_this)
         /* Set up p_demux */
         p_demux->pf_demux = Demux;
         p_demux->pf_control = Control;
-        p_demux->info.i_update = 0;
 
         p_demux->p_sys = p_sys = calloc(1, sizeof(demux_sys_t));
         if ( !p_sys )
diff --git a/modules/access/dc1394.c b/modules/access/dc1394.c
index f4a0a1bd3a..794096354a 100644
--- a/modules/access/dc1394.c
+++ b/modules/access/dc1394.c
@@ -169,7 +169,6 @@ static int Open( vlc_object_t *p_this )
     /* Set up p_demux */
     p_demux->pf_demux = Demux;
     p_demux->pf_control = Control;
-    p_demux->info.i_update = 0;
 
     p_demux->p_sys = p_sys = vlc_obj_calloc( p_this, 1, sizeof( demux_sys_t ) );
     if( !p_sys )
diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp
index 4acfffd089..96b55a1145 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -489,7 +489,6 @@ static int Open(vlc_object_t *p_this)
     /* Set up demux */
     demux->pf_demux = NULL;
     demux->pf_control = Control;
-    demux->info.i_update = 0;
     demux->p_sys = sys = (demux_sys_t*)calloc(1, sizeof(demux_sys_t));
     if (!sys)
         return VLC_ENOMEM;
diff --git a/modules/access/imem.c b/modules/access/imem.c
index 0d35e5a01e..33c94a93b0 100644
--- a/modules/access/imem.c
+++ b/modules/access/imem.c
@@ -494,7 +494,6 @@ static int OpenDemux(vlc_object_t *object)
     demux->pf_demux   = Demux;
     demux->p_sys      = (demux_sys_t*)sys;
 
-    demux->info.i_update = 0;
     return VLC_SUCCESS;
 }
 
diff --git a/modules/access/oss.c b/modules/access/oss.c
index c57068ce77..7846f4e208 100644
--- a/modules/access/oss.c
+++ b/modules/access/oss.c
@@ -155,7 +155,6 @@ static int DemuxOpen( vlc_object_t *p_this )
     /* Set up p_demux */
     p_demux->pf_control = DemuxControl;
     p_demux->pf_demux = Demux;
-    p_demux->info.i_update = 0;
 
     p_demux->p_sys = p_sys = vlc_obj_calloc( p_this, 1, sizeof( demux_sys_t ) );
     if( p_sys == NULL ) return VLC_ENOMEM;
diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m
index c18473a712..9c26ebb217 100644
--- a/modules/access/qtsound.m
+++ b/modules/access/qtsound.m
@@ -444,7 +444,6 @@ static int Open(vlc_object_t *p_this)
         /* Set up p_demux */
         p_demux->pf_demux = Demux;
         p_demux->pf_control = Control;
-        p_demux->info.i_update = 0;
         
         msg_Dbg(p_demux, "New audio es %d channels %dHz",
                 audiofmt.audio.i_channels, audiofmt.audio.i_rate);
diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index f9edcf0fd6..e7637fb307 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -105,7 +105,6 @@ int DemuxOpen( vlc_object_t *obj )
     sys->start = mdate ();
     demux->pf_demux = NULL;
     demux->pf_control = DemuxControl;
-    demux->info.i_update = 0;
     return VLC_SUCCESS;
 error:
     free (sys);
diff --git a/modules/access/v4l2/radio.c b/modules/access/v4l2/radio.c
index 609b5f15ad..acd1337ae5 100644
--- a/modules/access/v4l2/radio.c
+++ b/modules/access/v4l2/radio.c
@@ -104,7 +104,6 @@ int RadioOpen (vlc_object_t *obj)
     demux->p_sys = sys;
     demux->pf_demux = NULL;
     demux->pf_control = RadioControl;
-    demux->info.i_update = 0;
     return VLC_SUCCESS;
 
 error:



More information about the vlc-commits mailing list