]> git.sesse.net Git - vlc/blobdiff - include/vlc_demux.h
Qt: Save/Convert dialog should not show any streaming features.
[vlc] / include / vlc_demux.h
index 26cafb0fc2b81c9e4aaae857e0cb76152a298d79..5b5c5829c2d2ca261961a0315d6e58994157e41f 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_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>
@@ -173,7 +174,7 @@ static inline bool demux_IsForced( demux_t *p_demux, const char *psz_name )
 
 #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; \