]> git.sesse.net Git - vlc/blobdiff - src/audio_output/common.c
aout: use vlc_custom_create
[vlc] / src / audio_output / common.c
index 151bf8b63d77fe19bc1ae18ea36d76b119ec5ee6..cd0bf82ae798da43fbe38918e6aa19a384b9db87 100644 (file)
@@ -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;