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

Function dv_parse_sdp_line

libavformat/rtpdec_dv.c:70–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static av_cold int dv_parse_sdp_line(AVFormatContext *ctx, int st_index,
71 PayloadContext *dv_data, const char *line)
72{
73 AVStream *current_stream;
74 const char *sdp_line_ptr = line;
75
76 if (st_index < 0)
77 return 0;
78
79 current_stream = ctx->streams[st_index];
80
81 if (av_strstart(sdp_line_ptr, "fmtp:", &sdp_line_ptr)) {
82 return ff_parse_fmtp(ctx, current_stream, dv_data, sdp_line_ptr,
83 dv_sdp_parse_fmtp_config);
84 }
85
86 return 0;
87}
88
89static int dv_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_dv_ctx,
90 AVStream *st, AVPacket *pkt, uint32_t *timestamp,

Callers

nothing calls this directly

Calls 2

av_strstartFunction · 0.85
ff_parse_fmtpFunction · 0.85

Tested by

no test coverage detected