[vlc-devel] [PATCH 02/10] Update ACCESS_SET_CALLBACKS call to match new parameter count
Julien 'Lta' BALLET
elthariel at gmail.com
Mon Jun 16 14:41:04 CEST 2014
From: Julien 'Lta' BALLET <contact at lta.io>
---
modules/access/dv.c | 2 +-
modules/access/eyetv.m | 2 +-
modules/access/tcp.c | 2 +-
modules/access/udp.c | 2 +-
modules/access/zip/zipaccess.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/access/dv.c b/modules/access/dv.c
index f7792b8..8fb2f90 100644
--- a/modules/access/dv.c
+++ b/modules/access/dv.c
@@ -125,7 +125,7 @@ static int Open( vlc_object_t *p_this )
/* Set up p_access */
access_InitFields( p_access );
- ACCESS_SET_CALLBACKS( NULL, Block, Control, NULL );
+ ACCESS_SET_CALLBACKS( NULL, Block, NULL, Control, NULL );
p_access->p_sys = p_sys = malloc( sizeof( access_sys_t ) );
if( !p_sys )
diff --git a/modules/access/eyetv.m b/modules/access/eyetv.m
index e6010f3..19f916f 100644
--- a/modules/access/eyetv.m
+++ b/modules/access/eyetv.m
@@ -151,7 +151,7 @@ static int Open(vlc_object_t *p_this)
/* Init p_access */
access_InitFields(p_access);
- ACCESS_SET_CALLBACKS(NULL, BlockRead, Control, NULL);
+ ACCESS_SET_CALLBACKS(NULL, BlockRead, NULL, Control, NULL);
p_sys = p_access->p_sys = calloc(1, sizeof(access_sys_t));
if (!p_sys)
return VLC_ENOMEM;
diff --git a/modules/access/tcp.c b/modules/access/tcp.c
index 3fbf7f2..fdae10c 100644
--- a/modules/access/tcp.c
+++ b/modules/access/tcp.c
@@ -95,7 +95,7 @@ static int Open( vlc_object_t *p_this )
/* Init p_access */
access_InitFields( p_access );
- ACCESS_SET_CALLBACKS( Read, NULL, Control, NULL );
+ ACCESS_SET_CALLBACKS( Read, NULL, NULL, Control, NULL );
p_sys = p_access->p_sys = calloc( 1, sizeof( access_sys_t ) );
if( !p_sys )
{
diff --git a/modules/access/udp.c b/modules/access/udp.c
index 3c18cb8..7bc32c6 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -104,7 +104,7 @@ static int Open( vlc_object_t *p_this )
/* Set up p_access */
access_InitFields( p_access );
- ACCESS_SET_CALLBACKS( NULL, BlockUDP, Control, NULL );
+ ACCESS_SET_CALLBACKS( NULL, BlockUDP, NULL, Control, NULL );
/* Parse psz_name syntax :
* [serveraddr[:serverport]][@[bindaddr]:[bindport]] */
diff --git a/modules/access/zip/zipaccess.c b/modules/access/zip/zipaccess.c
index 2f2b4dc..bc6afc8 100644
--- a/modules/access/zip/zipaccess.c
+++ b/modules/access/zip/zipaccess.c
@@ -169,7 +169,7 @@ int AccessOpen( vlc_object_t *p_this )
goto exit;
/* Set callback */
- ACCESS_SET_CALLBACKS( AccessRead, NULL, AccessControl, AccessSeek );
+ ACCESS_SET_CALLBACKS( AccessRead, NULL, NULL, AccessControl, AccessSeek );
p_access->info.i_pos = 0;
p_access->info.b_eof = false;
--
1.9.3
More information about the vlc-devel
mailing list