X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmissing.c;h=3bfb41ff336cc7517c5f5d63ab96b2b0ee795735;hb=913ab9c0783878f05635ae36b52a584f807e8fc2;hp=038598029b5e70fc81dbfa546b0f2bcfd2d0ac02;hpb=edeb940a36d5506254947fc8f3530d6881f9dff6;p=vlc diff --git a/src/missing.c b/src/missing.c index 038598029b..3bfb41ff33 100644 --- a/src/missing.c +++ b/src/missing.c @@ -251,11 +251,9 @@ ssize_t sout_AccessOutWrite (sout_access_out_t *out, block_t *block) #undef sout_AnnounceRegisterSDP session_descriptor_t *sout_AnnounceRegisterSDP (vlc_object_t *obj, const char *sdp, - const char *dst, - announce_method_t *method) + const char *dst) { msg_Err (obj, "SDP export not compiled-in!"); - assert (method == NULL); return NULL; } @@ -272,11 +270,6 @@ encoder_t *sout_EncoderCreate( vlc_object_t *p_this ) return NULL; } -void sout_MethodRelease (announce_method_t *method) -{ - (void)method; -} - sout_input_t *sout_MuxAddStream (sout_mux_t *mux, es_format_t *fmt) { assert (0); @@ -308,11 +301,6 @@ void sout_MuxSendBuffer (sout_mux_t *mux, sout_input_t *input, block_t *block) assert (0); } -announce_method_t *sout_SAPMethod (void) -{ - return NULL; -} - void sout_StreamChainDelete (sout_stream_t *p_first, sout_stream_t *p_last) { assert (0); @@ -399,56 +387,80 @@ vlm_t *vlm_New (vlc_object_t *obj) #ifndef MEDIA_LIBRARY #include -media_library_t* __ml_Hold ( vlc_object_t* p_this ) +#undef ml_Get +media_library_t* ml_Get ( vlc_object_t* p_this ) { + VLC_UNUSED( p_this ); return NULL; } -void __ml_Release ( vlc_object_t* p_this ) -{ - assert( 0 ); -} - -media_library_t* __ml_Create ( vlc_object_t *p_this, char* psz_name ) +media_library_t* ml_Create ( vlc_object_t *p_this, char* psz_name ) { + VLC_UNUSED( p_this ); + VLC_UNUSED( psz_name ); return NULL; } -void __ml_Destroy( vlc_object_t * p_this ) +void ml_Destroy( vlc_object_t * p_this ) { + VLC_UNUSED( p_this ); assert( 0 ); } ml_media_t* media_New( media_library_t* p_ml, int id, ml_select_e select, bool reload ) { + VLC_UNUSED( p_ml ); + VLC_UNUSED( id ); + VLC_UNUSED( select ); + VLC_UNUSED( reload ); assert( 0 ); + return NULL; } -int __ml_UpdateSimple( media_library_t *p_media_library, ml_select_e selected_type, +#undef ml_UpdateSimple +int ml_UpdateSimple( media_library_t *p_media_library, ml_select_e selected_type, const char* psz_lvalue, int id, ... ) { + VLC_UNUSED( p_media_library ); + VLC_UNUSED( selected_type ); + VLC_UNUSED( psz_lvalue ); + VLC_UNUSED( id ); assert( 0 ); + return 0; } ml_ftree_t* ml_OpConnectChilds( ml_op_e op, ml_ftree_t* left, ml_ftree_t* right ) { + VLC_UNUSED( op ); + VLC_UNUSED( left ); + VLC_UNUSED( right ); assert( 0 ); + return NULL; } -ml_ftree_t* __ml_FtreeSpec( ml_ftree_t* tree, ml_select_e crit, int limit, +ml_ftree_t* ml_FtreeSpec( ml_ftree_t* tree, ml_select_e crit, int limit, char* sort ) { + VLC_UNUSED( tree ); + VLC_UNUSED( crit ); + VLC_UNUSED( limit ); + VLC_UNUSED( sort ); assert( 0 ); + return NULL; } void ml_PlaySmartPlaylistBasedOn( media_library_t* p_ml, ml_ftree_t* p_tree ) { + VLC_UNUSED( p_ml ); + VLC_UNUSED( p_tree ); assert( 0 ); } void ml_DeletePersonTypeFromMedia( ml_media_t* p_media, const char *psz_role ) { + VLC_UNUSED( p_media ); + VLC_UNUSED( psz_role ); assert( 0 ); } @@ -456,6 +468,10 @@ ml_person_t* ml_GetPersonsFromMedia( media_library_t* p_ml, ml_media_t* p_media, const char *psz_role ) { + VLC_UNUSED( p_ml ); + VLC_UNUSED( p_media ); + VLC_UNUSED( psz_role ); assert( 0 ); + return NULL; } #endif /* !MEDIA_LIBRARY */