X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frdt.h;h=1592c2f02d1e7190ab3a6c58a449f27dc6c7f67e;hb=aa8bf2fb8062880e02c0b8ffeb3bd5fce0753733;hp=04cc82d38925680efa82fc8a31b23e78b8b23275;hpb=79a1f3c023dda1458c6f4a79e508fe9d031152df;p=ffmpeg diff --git a/libavformat/rdt.h b/libavformat/rdt.h index 04cc82d3892..1592c2f02d1 100644 --- a/libavformat/rdt.h +++ b/libavformat/rdt.h @@ -24,7 +24,7 @@ #include #include "avformat.h" -#include "rtp.h" +#include "rtpdec.h" typedef struct RDTDemuxContext RDTDemuxContext; @@ -74,9 +74,6 @@ void av_register_rdt_dynamic_payload_handlers(void); */ void ff_rdt_subscribe_rule(char *cmd, int size, int stream_nr, int rule_nr); -// FIXME this will be removed ASAP -void ff_rdt_subscribe_rule2(RDTDemuxContext *s, char *cmd, int size, - int stream_nr, int rule_nr); /** * Parse RDT-style packet header. @@ -101,4 +98,15 @@ int ff_rdt_parse_header(const uint8_t *buf, int len, int ff_rdt_parse_packet(RDTDemuxContext *s, AVPacket *pkt, const uint8_t *buf, int len); +/** + * Parse a server-related SDP line. + * + * @param s the RTSP AVFormatContext + * @param stream_index the index of the first stream in the set represented + * by the SDP m= line (in s->streams) + * @param buf the SDP line + */ +void ff_real_parse_sdp_a_line(AVFormatContext *s, int stream_index, + const char *buf); + #endif /* AVFORMAT_RDT_H */