| 68 | } |
| 69 | |
| 70 | static 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 | |
| 89 | static int dv_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_dv_ctx, |
| 90 | AVStream *st, AVPacket *pkt, uint32_t *timestamp, |
nothing calls this directly
no test coverage detected