summaryrefslogtreecommitdiff
path: root/libavformat/rdt.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-11-15 20:41:59 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-11-15 20:41:59 +0000
commit114732f4c72a854a3e4409d01ff0e8eb1fb2c20d (patch)
tree6250635dd386763c20bb8da3bed6e728e5a35aab /libavformat/rdt.h
parent92765276fbe0e586a8c122521c5bc2d1da9e257a (diff)
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
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r--libavformat/rdt.h4
1 files changed, 3 insertions, 1 deletions
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).