* 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_DEMUX_H
+#define VLC_DEMUX_H 1
-#ifndef _VLC_DEMUX_H
-#define _VLC_DEMUX_H 1
+/**
+ * \file
+ * This files defines functions and structures used by demux objects in vlc
+ */
#include <vlc_es.h>
#include <vlc_stream.h>
DEMUX_SET_GROUP, /* arg1= int can fail */
/* Ask the demux to demux until the given date at the next pf_demux call
- * but not more (and not less, at the precision avaiable of course).
+ * but not more (and not less, at the precision available of course).
* XXX: not mandatory (except for subtitle demux) but I will help a lot
* for multi-input
*/
#define STANDARD_DEMUX_INIT_MSG( msg ) do { \
DEMUX_INIT_COMMON(); \
- msg_Dbg( p_demux, msg ); } while(0)
+ msg_Dbg( p_demux, "%s", msg ); } while(0)
#define DEMUX_BY_EXTENSION( ext ) \
demux_t *p_demux = (demux_t *)p_this; \