DTV: fix CAM init
authorRafaël Carré <funman@videolan.org>
Tue, 19 Aug 2014 10:08:05 +0000 (12:08 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 19 Aug 2014 10:08:05 +0000 (12:08 +0200)
modules/access/dtv/en50221.c

index 82ed742..4294363 100644 (file)
@@ -2028,6 +2028,7 @@ cam_t *en50221_Init( vlc_object_t *obj, int fd )
 
     p_cam->obj = obj;
     p_cam->fd = fd;
+    p_cam->i_nb_slots = caps.slot_num;
 
     if( caps.slot_type & CA_CI_LINK )
     {