* 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
#define POKE( peek, stuff, size ) (strncasecmp( (char *)peek, stuff, size )==0)
#define COMMON_INIT_PACKETIZER( location ) \
- location = vlc_object_create( p_demux, VLC_OBJECT_DECODER ); \
+ location = vlc_object_create( p_demux, VLC_OBJECT_PACKETIZER ); \
location->pf_decode_audio = 0; \
location->pf_decode_video = 0; \
location->pf_decode_sub = 0; \