Changeset 45c03700618519cc4c9935559d11d58f4b0e04f1

Show
Ignore:
Timestamp:
03/31/08 02:24:56 (5 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1206923096 +0200
git-parent:

[e002f487c3fcb22f27b7e2614f9a0b02dfc524f0]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1206923096 +0200
Message:

sap: Use vlc_custom_create to create the object. (This fixes a misuse of vlc_object_create too).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stream_output/sap.c

    raa389eb r45c0370  
    4444 
    4545#include "stream_output.h" 
     46#include "libvlc.h" 
    4647 
    4748/* SAP is always on that port */ 
     
    120121    sap_handler_t *p_sap; 
    121122 
    122     p_sap = vlc_object_create( p_announce, sizeof( sap_handler_t ) ); 
     123    p_sap = vlc_custom_create( VLC_OBJECT(p_announce), sizeof( sap_handler_t ), 
     124                               VLC_OBJECT_ANNOUNCE, "announce" ); 
    123125    if( !p_sap ) 
    124126    {