[vlc-devel] commit: aout: use vlc_custom_create ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Jan 27 20:05:59 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jan 27 20:33:31 2010 +0200| [26fb927690e52e0c6bcd7deb304a814620a8b997] | committer: Rémi Denis-Courmont
aout: use vlc_custom_create
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26fb927690e52e0c6bcd7deb304a814620a8b997
---
src/audio_output/common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 151bf8b..cd0bf82 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -79,7 +79,8 @@ aout_instance_t * __aout_New( vlc_object_t * p_parent )
aout_instance_t * p_aout;
/* Allocate descriptor. */
- p_aout = vlc_object_create( p_parent, VLC_OBJECT_AOUT );
+ p_aout = vlc_custom_create( p_parent, sizeof( *p_aout ), VLC_OBJECT_AOUT,
+ "audio output" );
if( p_aout == NULL )
{
return NULL;
More information about the vlc-devel
mailing list