Mercurial > libavformat.hg
diff rdt.h @ 4029:9a0a46d465ae libavformat
Add is_keyframe param to ff_rdt_parse_header(). See ML discussion in
"[PATCH] RDT/Realmedia patches #2" thread.
author | rbultje |
---|---|
date | Sat, 15 Nov 2008 20:41:59 +0000 |
parents | 4a266106f604 |
children | cd5a6a766b14 |
line wrap: on
line diff
--- a/rdt.h Sat Nov 15 20:17:19 2008 +0000 +++ b/rdt.h Sat Nov 15 20:41:59 2008 +0000 @@ -75,11 +75,13 @@ * @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).