[vlc-commits] Unitialized value

Rémi Denis-Courmont git at videolan.org
Mon Mar 21 21:37:09 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 21 22:36:08 2011 +0200| [51b83519f5840bb0da09f67b75efab4bc1f88fd4] | committer: Rémi Denis-Courmont

Unitialized value

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

 modules/access/dvb/en50221.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/access/dvb/en50221.c b/modules/access/dvb/en50221.c
index 95e4c61..2c1e983 100644
--- a/modules/access/dvb/en50221.c
+++ b/modules/access/dvb/en50221.c
@@ -1980,6 +1980,7 @@ cam_t *en50221_Init( vlc_object_t *obj, int fd )
         p_cam->i_timeout = CLOCK_FREQ / 10;
         /* Wait a bit otherwise it doesn't initialize properly... */
         msleep( CLOCK_FREQ / 10 );
+        p_cam->i_next_event = 0;
     }
     else
     if( caps.slot_type & CA_CI )



More information about the vlc-commits mailing list