summaryrefslogtreecommitdiff
path: root/libavformat/rtp_h264.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-01-18 20:48:32 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-01-18 20:48:32 +0000
commitf841a0fca1977ed9d24537b3c7b376def5ca1a73 (patch)
tree2e7543cd5082ddf6dfa43c8af6095084ba397641 /libavformat/rtp_h264.c
parente2d3e82dfd607ee1db51076e16d8ddc3140ae753 (diff)
Add a flags field to the RTPDynamicPayloadPacketHandlerProc (PKT_FLAG_*).
This can be used later by RDT to get the flags from the RTP packet and use that for the RealMedia packet (such as whether this RTP packet represents a keyframe or not). For discussion, see "[PATCH] Realmedia / RTSP (RDT)". Originally committed as revision 11557 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_h264.c')
-rw-r--r--libavformat/rtp_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c
index 28426b21cf..3e0fc3add4 100644
--- a/libavformat/rtp_h264.c
+++ b/libavformat/rtp_h264.c
@@ -163,7 +163,7 @@ static int h264_handle_packet(RTPDemuxContext * s,
AVPacket * pkt,
uint32_t * timestamp,
const uint8_t * buf,
- int len)
+ int len, int flags)
{
#ifdef DEBUG
h264_rtp_extra_data *data = s->dynamic_protocol_context;