Changeset 45c03700618519cc4c9935559d11d58f4b0e04f1
- 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
| raa389eb |
r45c0370 |
|
| 44 | 44 | |
|---|
| 45 | 45 | #include "stream_output.h" |
|---|
| | 46 | #include "libvlc.h" |
|---|
| 46 | 47 | |
|---|
| 47 | 48 | /* SAP is always on that port */ |
|---|
| … | … | |
| 120 | 121 | sap_handler_t *p_sap; |
|---|
| 121 | 122 | |
|---|
| 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" ); |
|---|
| 123 | 125 | if( !p_sap ) |
|---|
| 124 | 126 | { |
|---|