[vlc-devel] commit: Use pl_Release. ( Rémi Duraffort )
git version control
git at videolan.org
Mon Jul 21 10:01:54 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 21 10:00:51 2008 +0200| [3e0ef87588c1e0b5b906887578da8cb3c8eee5a4]
Use pl_Release.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e0ef87588c1e0b5b906887578da8cb3c8eee5a4
---
modules/access/cdda.c | 2 +-
modules/access/cdda/info.c | 2 +-
modules/access/directory.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index 29c5ea2..ba3fdcd 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -209,7 +209,7 @@ static int Open( vlc_object_t *p_this )
msg_Dbg( p_playlist, "unable to find item in playlist");
vlc_object_release( p_input );
}
- vlc_object_release( p_playlist );
+ pl_Release( p_access );
}
if( i_ret < 0 )
goto error;
diff --git a/modules/access/cdda/info.c b/modules/access/cdda/info.c
index e13c6d8..4f84927 100644
--- a/modules/access/cdda/info.c
+++ b/modules/access/cdda/info.c
@@ -965,7 +965,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
p_playlist->status.p_item, NULL );
}
- if (p_playlist) vlc_object_release( p_playlist );
+ if (p_playlist) pl_Release( p_access );
return VLC_SUCCESS;
}
diff --git a/modules/access/directory.c b/modules/access/directory.c
index 124bba8..5777b08 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -215,7 +215,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
if( !p_input )
{
msg_Err( p_access, "unable to find input (internal error)" );
- vlc_object_release( p_playlist );
+ pl_Release( p_access );
return VLC_ENOOBJ;
}
@@ -226,7 +226,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
{
msg_Err( p_access, "unable to find item in playlist" );
vlc_object_release( p_input );
- vlc_object_release( p_playlist );
+ pl_Release( p_playlist );
return VLC_ENOOBJ;
}
@@ -264,7 +264,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
free( psz_name );
vlc_object_release( p_input );
- vlc_object_release( p_playlist );
+ pl_Release( p_access );
/* Return fake data forever */
p_access->pf_read = ReadNull;
More information about the vlc-devel
mailing list