[vlc-devel] commit: OSD: use vlc_internals() ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat May 3 11:49:58 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat May 3 11:41:11 2008 +0300| [65a9c5b22206b4264dbe737e7e07fdbeddef14d2]
OSD: use vlc_internals()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65a9c5b22206b4264dbe737e7e07fdbeddef14d2
---
src/osd/osd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/osd/osd.c b/src/osd/osd.c
index 0cdaed8..f1206c9 100644
--- a/src/osd/osd.c
+++ b/src/osd/osd.c
@@ -233,7 +233,7 @@ void __osd_MenuDelete( vlc_object_t *p_this, osd_menu_t *p_osd )
vlc_mutex_lock( lockval.p_address );
vlc_object_release( p_osd );
- if( p_osd->p_internals->i_refcount > 0 )
+ if( vlc_internals( VLC_OBJECT(p_osd) )->i_refcount > 0 )
{
vlc_mutex_unlock( lockval.p_address );
return;
More information about the vlc-devel
mailing list