]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtp_internal.h
Add missing header #includes.
[ffmpeg] / libavformat / rtp_internal.h
index fefbaf550427a15159ce065561bbeb89e37e59f4..c34212dc16c7dda6804017ca8f181d15504bca7f 100644 (file)
@@ -24,7 +24,7 @@
 #define FFMPEG_RTP_INTERNAL_H
 
 #include <stdint.h>
-#include "avcodec.h"
+#include "libavcodec/avcodec.h"
 #include "rtp.h"
 
 // these statistics are used for rtcp receiver reports...
@@ -41,12 +41,21 @@ typedef struct {
     uint32_t jitter;            ///< estimated jitter.
 } RTPStatistics;
 
-
+/**
+ * Packet parsing for "private" payloads in the RTP specs.
+ *
+ * @param s stream context
+ * @param pkt packet in which to write the parsed data
+ * @param timestamp pointer in which to write the timestamp of this RTP packet
+ * @param buf pointer to raw RTP packet data
+ * @param len length of buf
+ * @param flags flags from the RTP packet header (PKT_FLAG_*)
+ */
 typedef int (*DynamicPayloadPacketHandlerProc) (struct RTPDemuxContext * s,
                                                 AVPacket * pkt,
                                                 uint32_t *timestamp,
                                                 const uint8_t * buf,
-                                                int len);
+                                                int len, int flags);
 
 typedef struct RTPDynamicProtocolHandler_s {
     // fields from AVRtpDynamicPayloadType_s