[vlc-commits] dynamic overlay: prefix some functions with do_
Rafaël Carré
git at videolan.org
Wed Jan 18 23:51:24 CET 2012
vlc/vlc-1.2 | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jan 17 20:35:45 2012 -0500| [ecb291201fce13af7fb8d4b1df6bb185b01bdb08] | committer: Jean-Baptiste Kempf
dynamic overlay: prefix some functions with do_
The symbols clash with libthreadutil of upnp
(cherry picked from commit e7211c9a48bed2fd345dfac5c33c7f59445ee613)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=ecb291201fce13af7fb8d4b1df6bb185b01bdb08
---
.../video_filter/dynamicoverlay/dynamicoverlay.c | 4 ++--
.../video_filter/dynamicoverlay/dynamicoverlay.h | 4 ++--
.../dynamicoverlay/dynamicoverlay_list.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/video_filter/dynamicoverlay/dynamicoverlay.c b/modules/video_filter/dynamicoverlay/dynamicoverlay.c
index c7079a0..b9562a6 100644
--- a/modules/video_filter/dynamicoverlay/dynamicoverlay.c
+++ b/modules/video_filter/dynamicoverlay/dynamicoverlay.c
@@ -106,7 +106,7 @@ static int Create( vlc_object_t *p_this )
QueueInit( &p_sys->atomic );
QueueInit( &p_sys->pending );
QueueInit( &p_sys->processed );
- ListInit( &p_sys->overlays );
+ do_ListInit( &p_sys->overlays );
p_sys->i_inputfd = -1;
p_sys->i_outputfd = -1;
@@ -146,7 +146,7 @@ static void Destroy( vlc_object_t *p_this )
QueueDestroy( &p_sys->atomic );
QueueDestroy( &p_sys->pending );
QueueDestroy( &p_sys->processed );
- ListDestroy( &p_sys->overlays );
+ do_ListDestroy( &p_sys->overlays );
UnregisterCommand( p_filter );
var_DelCallback( p_filter, "overlay-input", AdjustCallback, p_sys );
diff --git a/modules/video_filter/dynamicoverlay/dynamicoverlay.h b/modules/video_filter/dynamicoverlay/dynamicoverlay.h
index 3995ace..d8cc8da 100644
--- a/modules/video_filter/dynamicoverlay/dynamicoverlay.h
+++ b/modules/video_filter/dynamicoverlay/dynamicoverlay.h
@@ -153,8 +153,8 @@ typedef struct list_t
overlay_t **pp_head, **pp_tail;
} list_t;
-int ListInit( list_t *p_list );
-int ListDestroy( list_t *p_list );
+int do_ListInit( list_t *p_list );
+int do_ListDestroy( list_t *p_list );
ssize_t ListAdd( list_t *p_list, overlay_t *p_new );
int ListRemove( list_t *p_list, size_t i_idx );
overlay_t *ListGet( list_t *p_list, size_t i_idx );
diff --git a/modules/video_filter/dynamicoverlay/dynamicoverlay_list.c b/modules/video_filter/dynamicoverlay/dynamicoverlay_list.c
index ff620a5..72ee5f6 100644
--- a/modules/video_filter/dynamicoverlay/dynamicoverlay_list.c
+++ b/modules/video_filter/dynamicoverlay/dynamicoverlay_list.c
@@ -36,7 +36,7 @@
* list_t: Command queue
*****************************************************************************/
-int ListInit( list_t *p_list )
+int do_ListInit( list_t *p_list )
{
p_list->pp_head = calloc( 16, sizeof( overlay_t * ) );
if( p_list->pp_head == NULL )
@@ -46,7 +46,7 @@ int ListInit( list_t *p_list )
return VLC_SUCCESS;
}
-int ListDestroy( list_t *p_list )
+int do_ListDestroy( list_t *p_list )
{
for( overlay_t **pp_cur = p_list->pp_head;
pp_cur < p_list->pp_tail;
More information about the vlc-commits
mailing list