X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_codec_synchro.h;h=fefab4e173d93393b4787bf0d1a596712b7afd19;hb=3118165aefce584687fd67953e477fbbdf7e1bcb;hp=3e2da9d07ea27e3c1a4d866fbd249d0dbd7c7d3a;hpb=df61d33b06e2b3cbbe746b2f5a9bea5b370c24ff;p=vlc diff --git a/include/vlc_codec_synchro.h b/include/vlc_codec_synchro.h index 3e2da9d07e..fefab4e173 100644 --- a/include/vlc_codec_synchro.h +++ b/include/vlc_codec_synchro.h @@ -23,10 +23,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 - /***************************************************************************** * decoder_synchro_t : timers for the video synchro *****************************************************************************/ @@ -41,13 +37,13 @@ /***************************************************************************** * Prototypes *****************************************************************************/ -VLC_EXPORT( decoder_synchro_t *, decoder_SynchroInit, ( decoder_t *, int ) ); +VLC_EXPORT( decoder_synchro_t *, decoder_SynchroInit, ( decoder_t *, int ) LIBVLC_USED ); VLC_EXPORT( void, decoder_SynchroRelease, ( decoder_synchro_t * ) ); VLC_EXPORT( void, decoder_SynchroReset, ( decoder_synchro_t * ) ); VLC_EXPORT( bool, decoder_SynchroChoose, ( decoder_synchro_t *, int, int, bool ) ); VLC_EXPORT( void, decoder_SynchroTrash, ( decoder_synchro_t * ) ); VLC_EXPORT( void, decoder_SynchroDecode, ( decoder_synchro_t * ) ); VLC_EXPORT( void, decoder_SynchroEnd, ( decoder_synchro_t *, int, bool ) ); -VLC_EXPORT( mtime_t, decoder_SynchroDate, ( decoder_synchro_t * ) ); -VLC_EXPORT( void, decoder_SynchroNewPicture, ( decoder_synchro_t *, int, int, mtime_t, mtime_t, int, bool ) ); +VLC_EXPORT( mtime_t, decoder_SynchroDate, ( decoder_synchro_t * ) LIBVLC_USED ); +VLC_EXPORT( void, decoder_SynchroNewPicture, ( decoder_synchro_t *, int, int, mtime_t, mtime_t, bool ) );