]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/rtpfmt.c
Add missing include (OpenDemux uses the CloseDemux function, so the
[vlc] / modules / stream_out / rtpfmt.c
index 1ccc24fff01eadefd818a19add82f1fdde1193a5..bcd8ec6058f6966a0479da2609f099ef840647d7 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * rtp.c: rtp stream output module
+ * rtpfmt.c: RTP payload formats
  *****************************************************************************
  * Copyright (C) 2003-2004 the VideoLAN team
  * Copyright © 2007 Rémi Denis-Courmont
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_sout.h>
 #include <vlc_block.h>
 
 #include "rtp.h"
 
+int
+rtp_packetize_h264_nal( sout_stream_t *p_stream, sout_stream_id_t *id,
+                        const uint8_t *p_data, int i_data, int64_t i_pts,
+                        int64_t i_dts, bool b_last, int64_t i_length );
+
 int rtp_packetize_mpa( sout_stream_t *p_stream, sout_stream_id_t *id,
                        block_t *in )
 {
@@ -468,7 +473,7 @@ int rtp_packetize_h263( sout_stream_t *p_stream, sout_stream_id_t *id,
 int
 rtp_packetize_h264_nal( sout_stream_t *p_stream, sout_stream_id_t *id,
                         const uint8_t *p_data, int i_data, int64_t i_pts,
-                        int64_t i_dts, vlc_bool_t b_last, int64_t i_length )
+                        int64_t i_dts, bool b_last, int64_t i_length )
 {
     const int i_max = rtp_mtu (id); /* payload max in one packet */
     int i_nal_hdr;