MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / parse_fmtp

Function parse_fmtp

libavformat/rtsp.c:432–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432static void parse_fmtp(AVFormatContext *s, RTSPState *rt,
433 int payload_type, const char *line)
434{
435 int i;
436
437 for (i = 0; i < rt->nb_rtsp_streams; i++) {
438 RTSPStream *rtsp_st = rt->rtsp_streams[i];
439 if (rtsp_st->sdp_payload_type == payload_type &&
440 rtsp_st->dynamic_handler &&
441 rtsp_st->dynamic_handler->parse_sdp_a_line) {
442 rtsp_st->dynamic_handler->parse_sdp_a_line(s, rtsp_st->stream_index,
443 rtsp_st->dynamic_protocol_context, line);
444 }
445 }
446}
447
448static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
449 int letter, const char *buf)

Callers 2

sdp_parse_lineFunction · 0.70
ff_parse_fmtpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected