]> git.sesse.net Git - vlc/blobdiff - include/vlc_access.h
macosx: Add a missing PL_LOCK in the wizard.
[vlc] / include / vlc_access.h
index 4cb5b7f65cbb5b4534803d1be1fb4c5e22b10936..26a867c5737bd6a2820e8c5bd879de03f2051a78 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#if !defined( __LIBVLC__ )
-  #error You are not libvlc or one of its plugins. You cannot include this file
-#endif
-
 #ifndef _VLC_ACCESS_H
 #define _VLC_ACCESS_H 1
 
@@ -120,7 +116,6 @@ struct access_t
 static inline int access_vaControl( access_t *p_access, int i_query, va_list args )
 {
     if( !p_access ) return VLC_EGENERIC;
-    assert( p_access->pf_control );
     return p_access->pf_control( p_access, i_query, args );
 }