Mercurial > libavformat.hg
comparison rtp_internal.h @ 1431:2d8a17631520 libavformat
fix more dynamic protocol stuff, needed by the forthcoming h264
streaming patch.
(Minor additions to give more information to the dynamic protocol
handlers, and a slight rearrangement of code.)
Patch by Ryan Martell %rdm4 A martellventures P com%
Original thread:
Date: Oct 29, 2006 2:30 AM
Subject: Re: [Ffmpeg-devel] RTP patches & RFC
author | gpoirier |
---|---|
date | Sun, 29 Oct 2006 10:58:51 +0000 |
parents | 00d9393a126f |
children | db97355877b1 |
comparison
equal
deleted
inserted
replaced
1430:f72de3879e6c | 1431:2d8a17631520 |
---|---|
23 #ifndef RTP_INTERNAL_H | 23 #ifndef RTP_INTERNAL_H |
24 #define RTP_INTERNAL_H | 24 #define RTP_INTERNAL_H |
25 | 25 |
26 typedef int (*DynamicPayloadPacketHandlerProc) (struct RTPDemuxContext * s, | 26 typedef int (*DynamicPayloadPacketHandlerProc) (struct RTPDemuxContext * s, |
27 AVPacket * pkt, | 27 AVPacket * pkt, |
28 uint32_t timestamp, | 28 uint32_t *timestamp, |
29 const uint8_t * buf, | 29 const uint8_t * buf, |
30 int len); | 30 int len); |
31 | 31 |
32 typedef struct RTPDynamicProtocolHandler_s { | 32 typedef struct RTPDynamicProtocolHandler_s { |
33 // fields from AVRtpDynamicPayloadType_s | 33 // fields from AVRtpDynamicPayloadType_s |