[vlc-commits] libvlc_media_save_meta(): no need for playlist object
Rémi Denis-Courmont
git at videolan.org
Tue Aug 21 19:37:12 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 21 20:37:00 2012 +0300| [abf5407607b1d7cac761686b7289028af5d9ca60] | committer: Rémi Denis-Courmont
libvlc_media_save_meta(): no need for playlist object
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abf5407607b1d7cac761686b7289028af5d9ca60
---
lib/media.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/media.c b/lib/media.c
index afafdff..fc32c67 100644
--- a/lib/media.c
+++ b/lib/media.c
@@ -475,8 +475,7 @@ void libvlc_media_set_meta( libvlc_media_t *p_md, libvlc_meta_t e_meta, const ch
int libvlc_media_save_meta( libvlc_media_t *p_md )
{
assert( p_md );
- vlc_object_t *p_obj = VLC_OBJECT(libvlc_priv(
- p_md->p_libvlc_instance->p_libvlc_int)->p_playlist);
+ vlc_object_t *p_obj = VLC_OBJECT(p_md->p_libvlc_instance->p_libvlc_int);
return input_item_WriteMeta( p_obj, p_md->p_input_item ) == VLC_SUCCESS;
}
More information about the vlc-commits
mailing list