X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_codec_synchro.h;h=fefab4e173d93393b4787bf0d1a596712b7afd19;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=ce07fb263895f74446b70824b3bcbf2432601967;hpb=6546eb710a172ee3cf0e772584b485da4983d44d;p=vlc diff --git a/include/vlc_codec_synchro.h b/include/vlc_codec_synchro.h index ce07fb2638..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( vlc_bool_t, decoder_SynchroChoose, ( decoder_synchro_t *, int, int, vlc_bool_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, vlc_bool_t ) ); -VLC_EXPORT( mtime_t, decoder_SynchroDate, ( decoder_synchro_t * ) ); -VLC_EXPORT( void, decoder_SynchroNewPicture, ( decoder_synchro_t *, int, int, mtime_t, mtime_t, int, vlc_bool_t ) ); +VLC_EXPORT( void, decoder_SynchroEnd, ( decoder_synchro_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 ) );