diff options
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r-- | libavformat/rdt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/rdt.h b/libavformat/rdt.h index 37b1928570..fe2f4f484b 100644 --- a/libavformat/rdt.h +++ b/libavformat/rdt.h @@ -54,4 +54,11 @@ void av_register_rdt_dynamic_payload_handlers(void); void ff_rdt_subscribe_rule(RTPDemuxContext *s, char *cmd, int size, int stream_nr, int rule_nr); +/** + * Parse RDT-style packet data (header + media data). + * Usage similar to rtp_parse_packet(). + */ +int ff_rdt_parse_packet(RTPDemuxContext *s, AVPacket *pkt, + const uint8_t *buf, int len); + #endif /* AVFORMAT_RDT_H */ |