X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fvlc_access.h;h=26a867c5737bd6a2820e8c5bd879de03f2051a78;hb=ba8f5af2374314a1aac064c1d12a76779e0de8bc;hp=4cb5b7f65cbb5b4534803d1be1fb4c5e22b10936;hpb=df61d33b06e2b3cbbe746b2f5a9bea5b370c24ff;p=vlc diff --git a/include/vlc_access.h b/include/vlc_access.h index 4cb5b7f65c..26a867c573 100644 --- a/include/vlc_access.h +++ b/include/vlc_access.h @@ -21,10 +21,6 @@ * 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 ); }