From 114732f4c72a854a3e4409d01ff0e8eb1fb2c20d Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 15 Nov 2008 20:41:59 +0000 Subject: Add is_keyframe param to ff_rdt_parse_header(). See ML discussion in "[PATCH] RDT/Realmedia patches #2" thread. Originally committed as revision 15833 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rdt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat/rdt.h') diff --git a/libavformat/rdt.h b/libavformat/rdt.h index 7e33b063be..12d53178c9 100644 --- a/libavformat/rdt.h +++ b/libavformat/rdt.h @@ -75,11 +75,13 @@ void ff_rdt_subscribe_rule2(RDTDemuxContext *s, char *cmd, int size, * @param set_id will be set to the set ID this packet belongs to * @param seq_no will be set to the sequence number this packet belongs to * @param stream_id will be set to the stream ID this packet belongs to + * @param is_keyframe will be whether this packet belongs to a keyframe * @param timestamp will be set to the timestamp of the packet * @return the amount of bytes consumed, or <0 on error */ int ff_rdt_parse_header(const uint8_t *buf, int len, - int *set_id, int *seq_no, int *stream_id, uint32_t *timestamp); + int *set_id, int *seq_no, int *stream_id, + int *is_keyframe, uint32_t *timestamp); /** * Parse RDT-style packet data (header + media data). -- cgit v1.2.3